diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5b6fb81..76afb97 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,22 +2,21 @@ name: Go on: push: - branches: pull_request: branches: [ "main" ] + workflow_dispatch: jobs: test: name: test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.20' - cache: false + go-version: '1.21.7' - name: Check that all packages are compiling run: make build @@ -43,11 +42,10 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.20' - cache: false + go-version: '1.21.7' - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: