diff options
Diffstat (limited to 'backend/.github/workflows/go.yaml')
| -rw-r--r-- | backend/.github/workflows/go.yaml | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/backend/.github/workflows/go.yaml b/backend/.github/workflows/go.yaml deleted file mode 100644 index 2eb8dd2..0000000 --- a/backend/.github/workflows/go.yaml +++ /dev/null @@ -1,63 +0,0 @@ -name: Go - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -permissions: - contents: read - -jobs: - build: - runs-on: ubuntu-latest - - services: - dind: - image: docker:dind-rootless - ports: - - 2375:2375 - - steps: - - uses: actions/checkout@v4 - with: - submodules: recursive - token: ${{ secrets.PAT_TOKEN }} - - uses: actions/setup-go@v5 - with: - go-version: stable - - uses: bufbuild/buf-action@v1 - with: - setup_only: true - - name: Install mockgen - run: go install go.uber.org/mock/mockgen@latest - - name: Generate - run: go generate -v ./... - - name: Build - run: go build -v ./... - - name: Test - run: go test -v ./... - - lint: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - with: - submodules: recursive - token: ${{ secrets.PAT_TOKEN }} - - uses: actions/setup-go@v5 - with: - go-version: stable - - uses: bufbuild/buf-action@v1 - with: - setup_only: true - - name: Install mockgen - run: go install go.uber.org/mock/mockgen@latest - - name: Generate - run: go generate -v ./... - - name: golangci-lint - uses: golangci/golangci-lint-action@v6 - with: - version: v1.59 |
