Skip to content
Closed
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
38 changes: 19 additions & 19 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- run: rustup update
- run: cargo fmt --all --check

Expand All @@ -84,23 +84,23 @@ jobs:
# Prevent sudden announcement of a new advisory from failing ci:
continue-on-error: ${{ matrix.checks == 'advisories' }}
steps:
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@b01e7a8cfb1f496c52d77361e84c1840d8246393
- uses: actions/checkout@v5
- uses: EmbarkStudios/cargo-deny-action@f2ba7abc2abebaf185c833c3961145a3c275caad
with:
command: check ${{ matrix.checks }}

check-git-rev-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- uses: stellar/actions/rust-check-git-rev-deps@main

semver-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- run: rustup update
- uses: stellar/binaries@v45
- uses: stellar/binaries@v49
with:
name: cargo-semver-checks
version: 0.44.0
Expand All @@ -119,7 +119,7 @@ jobs:
sys: ${{ fromJSON(needs.setup.outputs.sys) }}
runs-on: ${{ matrix.sys.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- name: Install minimum supported rust version
if: matrix.rust == 'msrv'
run: |
Expand All @@ -145,15 +145,15 @@ jobs:
if: matrix.rust == 'msrv'
run: echo RUSTFLAGS='-Dwarnings' >> $GITHUB_ENV
- run: echo CARGO_BUILD_TARGET='${{ matrix.sys.target }}' >> $GITHUB_ENV
- uses: stellar/binaries@v45
- uses: stellar/binaries@v49
with:
name: cargo-hack
version: 0.5.28
- run: cargo version
- run: make build-libs
- run: make build-test-wasms TEST_CRATES_RUSTUP_TOOLCHAIN=$RUSTUP_TOOLCHAIN
- name: Upload test wasms
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: test-wasms-${{ matrix.rust }}-${{ matrix.sys.target }}
path: target/wasm32v1-none/release/test_*.wasm
Expand All @@ -168,7 +168,7 @@ jobs:
sys: ${{ fromJSON(needs.setup.outputs.sys) }}
runs-on: ${{ matrix.sys.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- name: Install minimum supported rust version
if: matrix.rust == 'msrv'
run: |
Expand All @@ -194,12 +194,12 @@ jobs:
if: matrix.rust == 'msrv'
run: echo RUSTFLAGS='-Dwarnings' >> $GITHUB_ENV
- run: echo CARGO_BUILD_TARGET='${{ matrix.sys.target }}' >> $GITHUB_ENV
- uses: stellar/binaries@v45
- uses: stellar/binaries@v49
with:
name: cargo-hack
version: 0.5.28
- name: Restore test wasms for tests from one of the msrv builds
uses: actions/download-artifact@v5
uses: actions/download-artifact@v6
with:
name: test-wasms-msrv-x86_64-unknown-linux-gnu
path: target/wasm32v1-none/release/
Expand All @@ -213,10 +213,10 @@ jobs:
build-fuzz:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- uses: stellar/actions/rust-cache@main
- run: rustup install nightly
- uses: stellar/binaries@v45
- uses: stellar/binaries@v49
with:
name: cargo-fuzz
version: 0.13.1
Expand All @@ -227,7 +227,7 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- uses: stellar/actions/rust-cache@main
- run: rustup install nightly
- run: make doc
Expand All @@ -237,7 +237,7 @@ jobs:
readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- uses: stellar/actions/rust-cache@main
- run: rustup install nightly
- run: make readme
Expand All @@ -246,7 +246,7 @@ jobs:
migration-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- uses: stellar/actions/rust-cache@main
- run: rustup update
- run: |
Expand All @@ -264,11 +264,11 @@ jobs:
msrv="$(make msrv)"
rustup install $msrv
rustup target add --toolchain $msrv wasm32v1-none
- uses: stellar/binaries@v45
- uses: stellar/binaries@v49
with:
name: cargo-hack
version: 0.5.28
- uses: stellar/binaries@v45
- uses: stellar/binaries@v49
with:
name: cargo-expand
version: 1.0.116
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:

- name: Upload WASM artifacts
if: steps.check-if-contract.outputs.is-a-contract == 'true'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: ${{ steps.artifact-name.outputs.name }}
path: 'stellar-contracts/target/wasm32v1-none/release/*.wasm'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-with-soroban-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
rustup update
rustup target add wasm32v1-none

- uses: denoland/setup-deno@909cc5acb0fdd60627fb858598759246509fa755 # v2.0.2
- uses: denoland/setup-deno@e95548e56dfa95d4e1a28d6f422fafe75c4c26fb # v2.0.3
with:
deno-version: v2.x

Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
run: echo "name=wasm-$(echo ${{ matrix.working-directory }} | sed 's/\//-/g')" | tee -a $GITHUB_OUTPUT

- name: Upload WASM artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: ${{ steps.artifact-name.outputs.name }}
path: 'soroban-examples/${{ matrix.working-directory }}/**/*.wasm'
Expand Down
Loading