|
25 | 25 | test: |
26 | 26 | strategy: |
27 | 27 | matrix: |
28 | | - go-version: [1.23.x] |
| 28 | + go-version: [1.23.x, 1.24.x] |
29 | 29 | os: [ubuntu-latest, macos-latest, windows-latest] |
30 | 30 | runs-on: ${{ matrix.os }} |
31 | 31 | steps: |
@@ -53,22 +53,21 @@ jobs: |
53 | 53 | # Static checks from this point forward. Only run on one Go version and on |
54 | 54 | # linux, since it's the fastest platform, and the tools behave the same. |
55 | 55 | - name: Test third-party project builds |
56 | | - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.23.x' |
| 56 | + if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.24.x' |
57 | 57 | run: | |
58 | 58 | go install |
59 | 59 | ./scripts/check-third-party.sh |
60 | | - - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.23.x' |
| 60 | + - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.24.x' |
61 | 61 | run: ./scripts/crlf-test.sh |
62 | | - - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.23.x' |
| 62 | + - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.24.x' |
63 | 63 | run: diff <(echo -n) <(gofmt -d .) |
64 | | - - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.23.x' |
| 64 | + - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.24.x' |
65 | 65 | run: go vet ./... |
66 | | - # TODO: staticcheck temporarily disabled as it was built with go1.23.4 |
67 | | - # - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.23.x' |
68 | | - # uses: dominikh/staticcheck-action@v1 |
69 | | - # with: |
70 | | - # version: "2024.1.1" |
71 | | - # install-go: false |
| 66 | + - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.24.x' |
| 67 | + uses: dominikh/staticcheck-action@v1 |
| 68 | + with: |
| 69 | + version: "2025.1" |
| 70 | + install-go: false |
72 | 71 |
|
73 | 72 | # We don't care about GOARCH=386 particularly, hence -short, |
74 | 73 | # but it helps ensure we support 32-bit hosts and targets well. |
|
82 | 81 | - uses: actions/checkout@v4 |
83 | 82 | - uses: actions/setup-go@v5 |
84 | 83 | with: |
85 | | - go-version: 1.23.x |
| 84 | + go-version: 1.24.x |
86 | 85 | cache: false |
87 | 86 | - run: go test -short ./... |
0 commit comments