diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index e2ab30c..ed013d9 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -13,14 +13,14 @@ jobs: runs-on: ubuntu-latest steps: + - name: Check out code + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: Install Go uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.0.2 with: go-version: '1.23' - - name: Check out code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - name: Install staticcheck run: go install honnef.co/go/tools/cmd/staticcheck@latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 78ef13b..202814d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,18 +14,18 @@ jobs: matrix: # Oldest supported version is 1.18, plus the latest two releases. go-version: ['1.18', '1.22', '1.23'] - os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-13, macos-14, macos-15, windows-2019, windows-2022] + os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm, macos-13, macos-14, macos-15, windows-2019, windows-2022] runs-on: ${{ matrix.os }} steps: + - name: Check out code + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: Install Go uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.0.2 with: go-version: ${{ matrix.go-version }} - - name: Check out code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - name: Check formatting if: ${{ matrix.go-version == '1.23' && matrix.os == 'ubuntu-24.04' }} run: diff -u <(echo -n) <(gofmt -d .)