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 6ef06fa
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 14 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/broken-link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ 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 }}
cache: false
- name: Install Muffet
run: go install github.com/raviqqe/muffet/v2@latest
- name: Check Broken Links with Muffet
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ 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 }}
cache: false
- 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 +99,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 +144,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
15 changes: 9 additions & 6 deletions .github/workflows/verify-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ 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
cache: false
- uses: actions/checkout@v4
name: Checkout Fabric Code
with:
fetch-depth: 0
Expand All @@ -38,11 +39,12 @@ 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
cache: false
- uses: actions/checkout@v4
name: Checkout Fabric Code
- run: ci/scripts/setup_hsm.sh
name: Install SoftHSM
Expand All @@ -57,11 +59,12 @@ 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
cache: false
- uses: actions/checkout@v4
name: Checkout Fabric Code
- run: ci/scripts/setup_hsm.sh
name: Install SoftHSM
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/vulnerability-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ 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
cache: false
- name: Scan
run: make scan

0 comments on commit 6ef06fa

Please sign in to comment.