Skip to content

Commit

Permalink
Bump Cardinal-Cryptography/github-actions from v3 to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
mikolajgs committed Nov 17, 2023
1 parent 67d4512 commit 10413e1
Show file tree
Hide file tree
Showing 34 changed files with 53 additions and 53 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- name: Call action get-ref-properties
id: get-ref-properties
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v3
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v4

- name: Download test aleph-node artifact
uses: actions/download-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_build-liminal-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4
with:
targets: wasm32-unknown-unknown

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4

- name: Build binary and docker image
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_build-production-node-and-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Call action get-ref-properties
id: get-ref-properties
# yamllint disable-line rule:line-length
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v3
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v4

- name: Install Rust toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4
with:
targets: wasm32-unknown-unknown

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
retention-days: 7

- name: Install Rust Toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4

- name: Build binary and docker image
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_build-test-node-and-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Call action get-ref-properties
id: get-ref-properties
# yamllint disable-line rule:line-length
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v3
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v4

- name: Install Rust toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4
with:
targets: wasm32-unknown-unknown

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_check-code-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Nightly Rust Toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4
with:
channel: nightly-2023-01-10
targets: wasm32-unknown-unknown
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_check-excluded-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v4

- name: Install rustup and rust toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4

- name: Read contracts toolchain
id: contracts-toolchain-channel
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_check-production-node-and-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Call action get-ref-properties
id: get-ref-properties
# yamllint disable-line rule:line-length
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v3
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v4

- name: Install Rust toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4
with:
targets: wasm32-unknown-unknown

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_check-runtime-determimism.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4
with:
targets: wasm32-unknown-unknown

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_run-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4
with:
targets: wasm32-unknown-unknown
components: rust-src
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_unit-tests-and-static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust Toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4

- name: Run clippy
uses: actions-rs/cargo@v1
Expand All @@ -39,7 +39,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust Toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4

- name: Run Unit Test Suite
uses: actions-rs/cargo@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_update-node-image-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Call action get-ref-properties
id: get-ref-properties
# yamllint disable-line rule:line-length
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v3
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v4

- name: Call action Get ECR image names
id: get-docker-image-names
Expand All @@ -42,7 +42,7 @@ jobs:
# otherwise ECR image would not exist
- name: Check deploy image existence
# yamllint disable-line rule:line-length
uses: Cardinal-Cryptography/github-actions/check-image-existence-ecr@v3
uses: Cardinal-Cryptography/github-actions/check-image-existence-ecr@v4
with:
ecr-image: ${{ steps.get-docker-image-names.outputs.ecr-deploy-image }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-and-push-cliain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4

- name: Cargo | Build release binary
run: |
Expand All @@ -47,7 +47,7 @@ jobs:

- name: Call action get-ref-properties
id: get-ref-properties
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v3
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v4

- name: Login to ECR
if: >
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
env.AWS_MAINNET_ACCESS_KEY_ID != '' &&
env.AWS_MAINNET_SECRET_ACCESS_KEY != '' &&
env.CI_DEVNET_S3BUCKET_NAME != ''
uses: Cardinal-Cryptography/github-actions/copy-file-to-s3@v3
uses: Cardinal-Cryptography/github-actions/copy-file-to-s3@v4
with:
source-path: bin/cliain/target/release
source-filename: cliain
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4

- name: rustdoc | Build aleph-client docs
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/contracts-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
- name: Call action get-ref-properties
id: get-ref-properties
# yamllint disable-line rule:line-length
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v3
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v4

- name: Install jq
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-to-mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ jobs:

- name: Get Testnet node commit SHA
id: get-testnet-node-commit-sha
uses: Cardinal-Cryptography/github-actions/get-node-system-version@v3
uses: Cardinal-Cryptography/github-actions/get-node-system-version@v4
with:
env: testnet

- name: Call action get-ref-properties
id: get-ref-properties
# yamllint disable-line rule:line-length
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v3
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v4

- name: Compare Testnet node SHA version with currently deployed SHA
if: inputs.force != true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/featurenet-create-from-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
needs: [push-featurnet-node-image-to-ecr]
name: Create featurenet based on the PR
# yamllint disable-line rule:line-length
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-create-from-branch.yml@v3
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-create-from-branch.yml@v4
secrets: inherit
with:
expiration: ${{ inputs.expiration }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/featurenet-create-from-net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
needs: [check-vars-and-secrets]
name: Create featurenet
# yamllint disable-line rule:line-length
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-create-from-net.yml@v3
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-create-from-net.yml@v4
secrets: inherit
with:
featurenet-name: ${{ inputs.featurenet-name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/featurenet-delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
needs: [check-vars-and-secrets]
name: Delete featurenet
# yamllint disable-line rule:line-length
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-delete.yml@v3
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-delete.yml@v4
secrets: inherit
with:
featurenet-name: ${{ inputs.featurenet-name }}
2 changes: 1 addition & 1 deletion .github/workflows/featurenet-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
needs: [check-vars-and-secrets]
name: Update featurenet
# yamllint disable-line rule:line-length
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-update.yml@v3
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-update.yml@v4
secrets: inherit
with:
featurenet-name: ${{ inputs.featurenet-name }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly-fe-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:

- name: Call action get-ref-properties
id: get-ref-properties
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v3
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v4

- name: Get fe name
id: get-final-featurenet-name
Expand All @@ -123,7 +123,7 @@ jobs:
# yamllint enable rule:line-length

- name: Create featurenet from scratch
uses: Cardinal-Cryptography/github-actions/create-featurenet@v3
uses: Cardinal-Cryptography/github-actions/create-featurenet@v4
id: create-featurenet
with:
gh-ci-token: ${{ secrets.CI_GH_TOKEN }}
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
# yamllint enable rule:line-length

- name: Delete old featurenet app and data
uses: Cardinal-Cryptography/github-actions/delete-featurenet@v3
uses: Cardinal-Cryptography/github-actions/delete-featurenet@v4
with:
gh-ci-token: ${{ secrets.CI_GH_TOKEN }}
aws-access-key-id: ${{ secrets.AWS_DEVNET_ACCESS_KEY_ID }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust Toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4

- name: Run Test Suite
uses: actions-rs/cargo@v1
Expand All @@ -47,7 +47,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust Toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v3
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v4

- name: Run Test Suite
uses: actions-rs/cargo@v1
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/nightly-update-net-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,23 +52,23 @@ jobs:
delete-ops-testnet-featurenet:
needs: [get-aleph-node-main-sha, check-vars-and-secrets]
name: Delete existing ops-updatenet-testnet featurenet
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-delete.yml@v3
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-delete.yml@v4
secrets: inherit
with:
featurenet-name: ${{ needs.get-aleph-node-main-sha.outputs.updatenet-testnet-name }}

delete-ops-mainnet-featurenet:
needs: [get-aleph-node-main-sha, check-vars-and-secrets]
name: Delete existing ops-updatenet-mainnet featurenet
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-delete.yml@v3
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-delete.yml@v4
secrets: inherit
with:
featurenet-name: ${{ needs.get-aleph-node-main-sha.outputs.updatenet-mainnet-name }}

create-featurenet-from-testnet:
needs: [get-aleph-node-main-sha, delete-ops-testnet-featurenet]
name: Create featurenet from testnet
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-create-from-net.yml@v3
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-create-from-net.yml@v4
secrets: inherit
with:
featurenet-name: ${{ needs.get-aleph-node-main-sha.outputs.updatenet-testnet-name }}
Expand All @@ -80,7 +80,7 @@ jobs:
create-featurenet-from-mainnet:
needs: [get-aleph-node-main-sha, delete-ops-mainnet-featurenet]
name: Create featurenet from mainnet
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-create-from-net.yml@v3
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-create-from-net.yml@v4
secrets: inherit
with:
featurenet-name: ${{ needs.get-aleph-node-main-sha.outputs.updatenet-mainnet-name }}
Expand All @@ -93,7 +93,7 @@ jobs:
needs: [get-aleph-node-main-sha, create-featurenet-from-testnet]
# yamllint disable-line rule:line-length
name: Update featurenet from testnet to ${{ needs.get-aleph-node-main-sha.outputs.aleph-node-main-hash }}
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-update.yml@v3
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-update.yml@v4
secrets: inherit
with:
featurenet-name: ${{ needs.get-aleph-node-main-sha.outputs.updatenet-testnet-name }}
Expand All @@ -106,7 +106,7 @@ jobs:
needs: [get-aleph-node-main-sha, create-featurenet-from-mainnet]
# yamllint disable-line rule:line-length
name: Update featurenet from mainnet to ${{ needs.get-aleph-node-main-sha.outputs.aleph-node-main-hash }}
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-update.yml@v3
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-update.yml@v4
secrets: inherit
with:
featurenet-name: ${{ needs.get-aleph-node-main-sha.outputs.updatenet-mainnet-name }}
Expand All @@ -118,15 +118,15 @@ jobs:
delete-featurenet-from-testnet:
needs: [get-aleph-node-main-sha, update-featurenet-from-testnet]
name: Delete featurenet from testnet
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-delete.yml@v3
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-delete.yml@v4
secrets: inherit
with:
featurenet-name: ${{ needs.get-aleph-node-main-sha.outputs.updatenet-testnet-name }}

delete-featurenet-from-mainnet:
needs: [get-aleph-node-main-sha, update-featurenet-from-mainnet]
name: Delete featurenet from mainnet
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-delete.yml@v3
uses: Cardinal-Cryptography/github-actions/.github/workflows/_featurenet-delete.yml@v4
secrets: inherit
with:
featurenet-name: ${{ needs.get-aleph-node-main-sha.outputs.updatenet-mainnet-name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Call action get-ref-properties
id: get-ref-properties
# yamllint disable-line rule:line-length
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v3
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v4

- name: Download node production binary from artifacts
uses: actions/download-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-main-or-release-branch-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Call action get-ref-properties
id: get-ref-properties
# yamllint disable-line rule:line-length
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v3
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v4

- name: Download node production binary from artifacts
uses: actions/download-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-pull-request-change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:

- name: VALIDATE | Check PR title
# yamllint disable-line rule:line-length
uses: Cardinal-Cryptography/github-actions/check-pr-title@v3
uses: Cardinal-Cryptography/github-actions/check-pr-title@v4
with:
pr-title: ${{ github.event.pull_request.title }}
2 changes: 1 addition & 1 deletion .github/workflows/on-pull-request-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- name: Get branch name and commit SHA
id: get-ref-properties
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v3
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v4

- name: Get argocd featurenet app name
id: get-argocd-featurenet-app-name
Expand Down
Loading

0 comments on commit 10413e1

Please sign in to comment.