diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f825d0bf..a765c512 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,14 +20,14 @@ jobs: os: [ ubuntu-latest, windows-latest, macos-latest ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get date id: get-date run: echo "date=$(date -u +%Y-%m)" >> $GITHUB_OUTPUT shell: bash - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -161,7 +161,7 @@ jobs: cd bindings/go go test -test.v - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ runner.os == 'Windows' }} with: name: blst-arm-test.exe @@ -173,7 +173,7 @@ jobs: needs: rust-n-go steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: blst-arm-test.exe @@ -189,21 +189,21 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/swig key: ${{ runner.os }}-swig-github - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: temurin java-version: 11 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '20.x' - name: Environment run: | diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 2330bf7d..2c6263b0 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -29,7 +29,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. @@ -37,7 +37,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} queries: security-extended @@ -48,8 +48,8 @@ jobs: - if: matrix.language != 'cpp' name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/golang-lint.yml b/.github/workflows/golang-lint.yml index 4e012d8f..6bb9ad45 100644 --- a/.github/workflows/golang-lint.yml +++ b/.github/workflows/golang-lint.yml @@ -17,14 +17,14 @@ jobs: golang-lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: '>=1.21' cache: false - name: "go version" run: go version - - uses: golangci/golangci-lint-action@v3 + - uses: golangci/golangci-lint-action@v4 with: # Require: The version of golangci-lint to use. # When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.