diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0f81360..e8720a5 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,22 +2,28 @@ name: Go on: push: - branches: [ dev, master ] + branches: [ master, branch-2.* ] pull_request: - branches: [ dev, master ] + branches: [ master, branch-2.* ] jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: 1.21 + - name: golangci-lint + uses: golangci/golangci-lint-action@v6 + with: + version: v1.59.1 + args: --timeout 3m --config .golangci.yml + - name: Build run: go build -v ./...