Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: update deprecated action version #427

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/build-and-publish-cosmwasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ on:
paths:
- contracts/cosmwasm-vm/**
- libraries/common/rust/**
- .github/workflows/deploy-cosmwasm-contracts.yml
jobs:
Build:
name: Build Cosmasm Contracts
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -25,7 +24,7 @@ jobs:
bash ./scripts/optimize-cosmwasm.sh

- name: Archive artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: cosmwasm-contracts
path: artifacts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-publish-javascore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Build Javascore
working-directory: contracts/javascore
Expand All @@ -21,7 +21,7 @@ jobs:
./gradlew zipOutputOptimizedJars

- name: Archive artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: javascore-contracts
path: ./contracts/javascore/build/javascore-contracts.zip
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/codecov-javascore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ on:
- main
paths:
- 'contracts/javascore/**'
- '.github/workflows/codecov-javascore.yml'
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
jobs:
Coverage-Codecov:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: Javascore contracts coverage
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cosmwasm-contracts-code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- "**"
paths:
- "contracts/cosmwasm-vm/**"
- ".github/workflows/cosmwasm-contracts-code-coverage.yml"
push:
branches:
- main
Expand All @@ -22,7 +21,7 @@ jobs:
CARGO_TERM_COLOR: always
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/deploy-cosmwasm-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ on:
paths:
- contracts/cosmwasm-vm/**
- libraries/common/rust/**
- .github/workflows/deploy-cosmwasm-contracts.yml
- scripts/optimize-cosmwasm.sh
jobs:
Build:
name: Build & Deploy Cosmasm Contracts
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java-contracts-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build jar
working-directory: contracts/javascore
run: ./gradlew clean build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-tag-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: '0'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
60 changes: 30 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -29,29 +29,29 @@ jobs:
with:
name: javascore-contracts
path: ./contracts/javascore/build/javascore-contracts.zip
# build_wasm:
# name: Build Cosmwasm Contracts
# runs-on: ubuntu-latest
# steps:
# - name: Checkout sources
# uses: actions/checkout@v3
# with:
# submodules: true
build_wasm:
name: Build Cosmwasm Contracts
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
submodules: true

# - name: Cache Rust dependencies
# uses: Swatinem/rust-cache@v2
# - name: Compile WASM
# run: |
# # rustup component add rustfmt --toolchain 1.78.0-x86_64-unknown-linux-gnu
# # rustup component add clippy --toolchain 1.78.0-x86_64-unknown-linux-gnu
# bash ./scripts/optimize-cosmwasm.sh
# cd artifacts/archway && zip -r ../../cosmwasm-contracts.zip . -j
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
- name: Compile WASM
run: |
# rustup component add rustfmt --toolchain 1.78.0-x86_64-unknown-linux-gnu
# rustup component add clippy --toolchain 1.78.0-x86_64-unknown-linux-gnu
bash ./scripts/optimize-cosmwasm.sh
cd artifacts/archway && zip -r ../../cosmwasm-contracts.zip . -j

# - name: Upload Artifacts
# uses: actions/upload-artifact@v4
# with:
# name: cosmwasm-contracts
# path: cosmwasm-contracts.zip
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: cosmwasm-contracts
path: cosmwasm-contracts.zip
build_solidity:
name: Build Solidity Contracts
runs-on: ubuntu-latest
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: Install stable toolchain
Expand Down Expand Up @@ -128,11 +128,11 @@ jobs:
name: javascore-contracts
path: javascore-contracts

# - name: Download Cosmwasm Artifacts
# uses: actions/download-artifact@v4
# with:
# name: cosmwasm-contracts
# path: cosmwasm-contracts
- name: Download Cosmwasm Artifacts
uses: actions/download-artifact@v4
with:
name: cosmwasm-contracts
path: cosmwasm-contracts

- name: Download Solidity Artifacts
uses: actions/download-artifact@v4
Expand All @@ -149,8 +149,8 @@ jobs:
- name: Unzip Javascore Artifacts
run: unzip javascore-contracts/javascore-contracts.zip -d javascore-contracts && rm -rf javascore-contracts/javascore-contracts.zip

# - name: Unzip Cosmwasm Artifacts
# run: unzip cosmwasm-contracts/cosmwasm-contracts.zip -d cosmwasm-contracts && rm -rf cosmwasm-contracts/cosmwasm-contracts.zip
- name: Unzip Cosmwasm Artifacts
run: unzip cosmwasm-contracts/cosmwasm-contracts.zip -d cosmwasm-contracts && rm -rf cosmwasm-contracts/cosmwasm-contracts.zip

- name: Unzip Cosmwasm Artifacts
run: unzip solidity-contracts/solidity-contracts.zip -d solidity-contracts && rm -rf solidity-contracts/solidity-contracts.zip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/solidity-contracts-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
name: xCall-Multi Solidity Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/solidity-cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
CARGO_TERM_COLOR: always
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stellar-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sui-move-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
REPO_OWNER: MystenLabs
REPO_NAME: sui
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/uat-deploy-java-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Retrieve the secret and decode it to a file
working-directory: contracts/javascore
Expand Down
Loading