Skip to content

Commit

Permalink
update the following actions to use Node.js 20: actions/setup-go@v3, …
Browse files Browse the repository at this point in the history
…actions/checkout@v3

Signed-off-by: Fedor Partanskiy <pfi79@mail.ru>
  • Loading branch information
pfi79 committed Jan 28, 2024
1 parent d30c35b commit aa56b5f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/broken-link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
runs-on: fabric-ubuntu-latest
steps:
- name: Checkout Fabric Code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VER }}
- name: Install Muffet
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
runs-on: fabric-ubuntu-20.04
steps:
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VER }}
- name: Checkout Fabric Code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Compile Binary and Create Tarball
run: ./ci/scripts/create_binary_package.sh
env:
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
max-parallelism = 1
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Login to the ${{ env.DOCKER_REGISTRY }} Container Registry
uses: docker/login-action@v2
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
contents: write
steps:
- name: Checkout Fabric Code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download Artifacts
id: download
uses: actions/download-artifact@v3
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/verify-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
name: Basic Checks
runs-on: ${{ github.repository == 'hyperledger/fabric' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
name: Install Go
with:
go-version: ${{ env.GO_VER }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout Fabric Code
with:
fetch-depth: 0
Expand All @@ -38,11 +38,11 @@ jobs:
needs: basic-checks
runs-on: ${{ github.repository == 'hyperledger/fabric' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
name: Install Go
with:
go-version: ${{ env.GO_VER }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout Fabric Code
- run: ci/scripts/setup_hsm.sh
name: Install SoftHSM
Expand All @@ -57,11 +57,11 @@ jobs:
INTEGRATION_TEST_SUITE: ["raft","pvtdata","pvtdatapurge","ledger","lifecycle","e2e smartbft","discovery gossip devmode pluggable","gateway idemix pkcs11 configtx configtxlator","sbe nwo msp"]
runs-on: ${{ github.repository == 'hyperledger/fabric' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
name: Install Go
with:
go-version: ${{ env.GO_VER }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout Fabric Code
- run: ci/scripts/setup_hsm.sh
name: Install SoftHSM
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vulnerability-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
- release-2.4
- release-2.2
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ matrix.ref }}
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.21.4
- name: Scan
Expand Down

0 comments on commit aa56b5f

Please sign in to comment.