Skip to content

Commit

Permalink
Update rust version in contract-testing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
limemloh committed Mar 25, 2024
1 parent 5e7fdce commit 5b37788
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linter-testing-lib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ on:

env:
RUST_FMT: nightly-2023-04-01-x86_64-unknown-linux-gnu
RUST_CLIPPY: 1.72
RUST_CLIPPY: 1.73

jobs:
"lint_fmt":
Expand Down
25 changes: 9 additions & 16 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ name: Clippy & fmt
env:
RUST_FMT: nightly-2023-04-01
RUST_VERSION: "1.73"
RUST_VERSION_TESTING_LIBRARY: "1.72"
RUST_VERSION_TESTING_LIBRARY: "1.73"
CARGO_CONCORDIUM_VERSION: "3.3.0-internal"

jobs:
Expand Down Expand Up @@ -589,18 +589,9 @@ jobs:
args: --manifest-path ${{ matrix.lib-crates }} --target=${{ matrix.target }} --features=${{ matrix.features }} -- -D warnings

check-std-no-std:
name: Build on nightly,
name: Build no-std on nightly,
runs-on: ubuntu-latest
needs: rustfmt
strategy:
matrix:
target:
- wasm32-unknown-unknown

crates:
- concordium-std/Cargo.toml
- concordium-cis2/Cargo.toml

steps:
- name: Checkout sources
uses: actions/checkout@v2
Expand All @@ -615,11 +606,13 @@ jobs:
target: ${{ matrix.target }}
override: true

- name: Run cargo check with no-std
uses: actions-rs/cargo@v1
with:
command: build
args: --manifest-path ${{ matrix.crates }} --target=${{ matrix.target }} --no-default-features --features bump_alloc
- name: Run no-std build: concordium-std
working-directory: concordium-std
run: cargo build --target wasm32-unknown-unknown --no-default-features --features bump_alloc

- name: Run no-std build: concordium-cis2
working-directory: concordium-cis2
run: cargo build --target wasm32-unknown-unknown --no-default-features --features bump_alloc

check-no-std-examples:
name: Build on nightly,
Expand Down

0 comments on commit 5b37788

Please sign in to comment.