diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 32578ac8..166c764b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,13 +2,10 @@ name: Go on: pull_request: - branches: - - main + branches: [main] push: - branches: - - main - tags: - - '!*' + branches: [main] + tags: ['!*'] jobs: build: @@ -17,17 +14,12 @@ jobs: strategy: matrix: go-version: - - '1.11' - - '1.12' - - '1.13' - - '1.14' - - '1.15' - - '1.16' - - '1.17' - - '1.18' + - '1.19' + - '1.20' + - '1.21' steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@v4 - name: Set up Go ${{ matrix.go-version }} uses: actions/setup-go@v5 with: