Skip to content

Commit

Permalink
.github/workflows/*: update actions' versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
dot-asm committed Mar 16, 2024
1 parent 757c9f7 commit 09bb06f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ 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.
fetch-depth: 2

# 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
Expand All @@ -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

6 changes: 3 additions & 3 deletions .github/workflows/golang-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 09bb06f

Please sign in to comment.