diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5bb58ed19..8a2fef0aa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: name: shentud ${{ matrix.arch }} for ${{ matrix.targetos }} steps: - uses: actions/checkout@v3 - - uses: actions/setup-go@v4.0.1 + - uses: actions/setup-go@v5.2.0 with: go-version: '^1.21' env: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f8b4aa058..3769237b0 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -31,7 +31,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 - - uses: actions/setup-go@v4.0.1 + - uses: actions/setup-go@v5.2.0 with: go-version: '1.22.0' # Initializes the CodeQL tools for scanning. diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 854bd029a..5834eccf2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-go@v4.0.1 + - uses: actions/setup-go@v5.2.0 with: go-version: 1.22 - uses: technote-space/get-diff-action@v6.1.2 diff --git a/.github/workflows/sim-label.yml b/.github/workflows/sim-label.yml index 0abcba59f..6290454bc 100644 --- a/.github/workflows/sim-label.yml +++ b/.github/workflows/sim-label.yml @@ -15,7 +15,7 @@ jobs: newbuild: runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v4.0.1 + - uses: actions/setup-go@v5.2.0 with: go-version: 1.21 - name: Install runsim @@ -31,7 +31,7 @@ jobs: needs: newbuild steps: - uses: actions/checkout@v3 - - uses: actions/setup-go@v4.0.1 + - uses: actions/setup-go@v5.2.0 with: go-version: 1.19 - uses: actions/cache@v3 diff --git a/.github/workflows/sims.yml b/.github/workflows/sims.yml index 70bee2d51..6d80d7d11 100644 --- a/.github/workflows/sims.yml +++ b/.github/workflows/sims.yml @@ -16,7 +16,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v4.0.1 + - uses: actions/setup-go@v5.2.0 with: go-version: 1.22 - name: Install runsim @@ -31,7 +31,7 @@ jobs: needs: build steps: - uses: actions/checkout@v3 - - uses: actions/setup-go@v4.0.1 + - uses: actions/setup-go@v5.2.0 with: go-version: 1.22 - uses: technote-space/get-diff-action@v6.1.2 @@ -54,7 +54,7 @@ jobs: runs-on: ubuntu-latest needs: build steps: - - uses: actions/setup-go@v4.0.1 + - uses: actions/setup-go@v5.2.0 with: go-version: 1.22 - uses: actions/checkout@v3 @@ -78,7 +78,7 @@ jobs: runs-on: ubuntu-latest needs: build steps: - - uses: actions/setup-go@v4.0.1 + - uses: actions/setup-go@v5.2.0 with: go-version: 1.22 - uses: actions/checkout@v3 @@ -103,7 +103,7 @@ jobs: needs: build steps: - uses: actions/checkout@v3 - - uses: actions/setup-go@v4.0.1 + - uses: actions/setup-go@v5.2.0 with: go-version: 1.22 - uses: technote-space/get-diff-action@v6.1.2 diff --git a/.github/workflows/statesync.yml b/.github/workflows/statesync.yml index 9b493ec42..aeebe1e1a 100644 --- a/.github/workflows/statesync.yml +++ b/.github/workflows/statesync.yml @@ -15,7 +15,7 @@ jobs: name: shentud state sync steps: - uses: actions/checkout@v3 - - uses: actions/setup-go@v4.0.1 + - uses: actions/setup-go@v5.2.0 with: go-version: '^1.21' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a16855660..78a3727fa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: test-coverage-upload: runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v4.0.1 + - uses: actions/setup-go@v5.2.0 with: go-version: 1.22 - uses: actions/checkout@v3 @@ -60,7 +60,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 25 steps: - - uses: actions/setup-go@v4.0.1 + - uses: actions/setup-go@v5.2.0 with: go-version: 1.22 - uses: actions/checkout@v3 @@ -82,7 +82,7 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v3 - - uses: actions/setup-go@v4.0.1 + - uses: actions/setup-go@v5.2.0 with: go-version: 1.22 - uses: technote-space/get-diff-action@v6.1.2