Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
needs: bump-version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
ref: 'release/v${{ inputs.version }}'
- run: rustup update
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7
- run: rustup update
- run: cargo fmt --all --check

Expand All @@ -81,15 +81,15 @@ 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@3fd3802e88374d3fe9159b834c7714ec57d6c979
- uses: actions/checkout@v7
- uses: EmbarkStudios/cargo-deny-action@3c6349835b2b7b196a839186cb8b78e02f7b5f25
with:
command: check ${{ matrix.checks }}

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

build:
Expand All @@ -101,7 +101,7 @@ jobs:
sys: ${{ fromJSON(needs.setup.outputs.sys) }}
runs-on: ${{ matrix.sys.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7
- name: Install minimum supported rust version
if: matrix.rust == 'msrv'
run: |
Expand All @@ -127,15 +127,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@v85
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@v7
with:
name: test-wasms-${{ matrix.rust }}-${{ matrix.sys.target }}
path: target/wasm32v1-none/release/test_*.wasm
Expand All @@ -150,7 +150,7 @@ jobs:
sys: ${{ fromJSON(needs.setup.outputs.sys) }}
runs-on: ${{ matrix.sys.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7
- name: Install minimum supported rust version
if: matrix.rust == 'msrv'
run: |
Expand All @@ -176,12 +176,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@v85
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@v8
with:
name: test-wasms-msrv-x86_64-unknown-linux-gnu
path: target/wasm32v1-none/release/
Expand All @@ -195,10 +195,10 @@ jobs:
build-fuzz:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7
- uses: stellar/actions/rust-cache@main
- run: rustup install nightly
- uses: stellar/binaries@v45
- uses: stellar/binaries@v85
with:
name: cargo-fuzz
version: 0.13.1
Expand All @@ -209,7 +209,7 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7
- uses: stellar/actions/rust-cache@main
- run: rustup install nightly
- run: make doc
Expand All @@ -219,7 +219,7 @@ jobs:
readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7
- uses: stellar/actions/rust-cache@main
- run: rustup install nightly
- run: make readme
Expand All @@ -228,7 +228,7 @@ jobs:
migration-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7
- uses: stellar/actions/rust-cache@main
- run: rustup update
- run: |
Expand All @@ -239,19 +239,19 @@ jobs:
expand-test-wasms:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: stellar/actions/rust-cache@main
- name: Install minimum supported rust version
run: |
msrv="$(make msrv)"
rustup install $msrv
rustup target add --toolchain $msrv wasm32v1-none
rustup component add rustfmt
- uses: stellar/binaries@v45
- uses: stellar/binaries@v85
with:
name: cargo-hack
version: 0.5.28
- uses: stellar/binaries@v45
- uses: stellar/binaries@v85
with:
name: cargo-expand
version: 1.0.116
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/semver.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
collect-crates:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
with:
repository: OpenZeppelin/stellar-contracts
ref: main
Expand All @@ -42,12 +42,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout rs-soroban-sdk
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
path: rs-soroban-sdk

- name: Checkout OpenZeppelin stellar-contracts
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
repository: OpenZeppelin/stellar-contracts
ref: main
Expand Down Expand Up @@ -212,7 +212,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@v7
with:
name: ${{ steps.artifact-name.outputs.name }}
path: 'stellar-contracts/target/wasm32v1-none/release/*.wasm'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-with-soroban-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
collect-examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
with:
repository: stellar/soroban-examples
ref: main
Expand Down Expand Up @@ -47,12 +47,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout rs-soroban-sdk
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
path: rs-soroban-sdk

- name: Checkout soroban-examples
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
repository: stellar/soroban-examples
ref: main
Expand All @@ -63,11 +63,11 @@ jobs:
rustup update
rustup target add wasm32v1-none

- uses: denoland/setup-deno@909cc5acb0fdd60627fb858598759246509fa755 # v2.0.2
- uses: denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed # v2.0.5
with:
deno-version: v2.x

- uses: stellar/stellar-cli@v23.1.4
- uses: stellar/stellar-cli@v27.1.0

- uses: stellar/actions/rust-cache@main

Expand Down Expand Up @@ -188,7 +188,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@v7
with:
name: ${{ steps.artifact-name.outputs.name }}
path: 'soroban-examples/${{ matrix.working-directory }}/**/*.wasm'
Expand Down
Loading