diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6a97944..15c11c3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -8,17 +8,17 @@ jobs: strategy: matrix: os: [macOS-latest, ubuntu-latest] - goversion: [1.17, 1.18, 1.19] + goversion: ['1.22', '1.23'] steps: - name: Set up Go ${{matrix.goversion}} on ${{matrix.os}} - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{matrix.goversion}} id: go - name: Check out code into the Go module directory - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: gofmt run: | diff --git a/.github/workflows/staticcheck.yml b/.github/workflows/staticcheck.yml index b7133b5..03adb39 100644 --- a/.github/workflows/staticcheck.yml +++ b/.github/workflows/staticcheck.yml @@ -6,9 +6,9 @@ jobs: name: "staticcheck" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 with: fetch-depth: 1 - - uses: dominikh/staticcheck-action@v1.1.0 + - uses: dominikh/staticcheck-action@v1.3.1 with: - version: "2022.1.3" + version: "2024.1.1"