Skip to content

Commit cc6ce29

Browse files
committed
ci1
1 parent 70aaa80 commit cc6ce29

20 files changed

+16
-77
lines changed

.github/workflows/ci-cosmwasm-contract.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@ jobs:
2121
working-directory: target_chains/cosmwasm/contracts/pyth
2222
steps:
2323
- uses: actions/checkout@v2
24-
- uses: actions-rs/toolchain@v1
25-
with:
26-
toolchain: 1.82.0
27-
components: rustfmt, clippy
28-
override: true
24+
- uses: actions-rust-lang/setup-rust-toolchain@v1
2925
- name: Format check
3026
run: cargo fmt --all -- --check
3127
if: success() || failure()

.github/workflows/ci-lazer-solana-contract.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ jobs:
4646
- name: Install Anchor
4747
run: |
4848
rustup install 1.79.0
49+
# anchor requires nightly for ABI generation and it's broken for more recent nightly versions
4950
rustup install nightly-2025-04-15
51+
# This anchor version doesn't build with newer Rust
5052
RUSTFLAGS= cargo +1.79.0 install --git https://github.com/coral-xyz/anchor --tag v0.30.1 --locked anchor-cli
5153
- name: Run anchor tests
5254
run: pnpm run test:anchor

.github/workflows/ci-message-buffer.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ jobs:
2020
- uses: Swatinem/rust-cache@v2
2121
with:
2222
workspaces: "pythnet/message_buffer -> target"
23-
- uses: actions-rs/toolchain@v1
24-
with:
25-
toolchain: 1.66.1
26-
components: rustfmt, clippy
23+
- uses: actions-rust-lang/setup-rust-toolchain@v1
2724
- name: Install Solana
2825
run: |
2926
wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb

.github/workflows/ci-near-contract.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
with:
4040
workspaces: "target_chains/near/receiver -> target"
4141
- run: sudo apt-get update && sudo apt-get install -y libudev-dev
42-
- run: cargo +stable install --locked [email protected]
42+
- run: cargo install --locked [email protected]
4343
- run: cargo near build reproducible-wasm
4444
- name: Upload artifact
4545
uses: actions/upload-artifact@v4

.github/workflows/ci-remote-executor.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v2
1818
- uses: actions/setup-python@v2
19-
- uses: actions-rs/toolchain@v1
20-
with:
21-
toolchain: 1.73.0
22-
components: rustfmt, clippy
23-
override: true
19+
- uses: actions-rust-lang/setup-rust-toolchain@v1
2420
- uses: Swatinem/rust-cache@v2
2521
with:
2622
workspaces: "governance/remote_executor -> target"

.github/workflows/ci-starknet-contract.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,9 @@ jobs:
2525
tool-versions: target_chains/starknet/contracts/.tool-versions
2626
- name: Install Starkli
2727
run: curl https://get.starkli.sh | sh && . ~/.config/.starkli/env && starkliup -v $(awk '/starkli/{print $2}' .tool-versions)
28-
- name: Install Rust
29-
uses: actions-rs/toolchain@v1
30-
with:
31-
toolchain: 1.85.0
28+
- uses: actions-rust-lang/setup-rust-toolchain@v1
3229
- name: Install Devnet
33-
run: cargo +1.85.0 install starknet-devnet --version $(awk '/starknet-devnet/{print $2}' .tool-versions)
30+
run: cargo install starknet-devnet --version $(awk '/starknet-devnet/{print $2}' .tool-versions)
3431
- name: Check formatting
3532
run: scarb fmt --check
3633
- name: Run tests

.github/workflows/ci-stylus-check-wasm.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ jobs:
2424
working-directory: target_chains/ethereum/sdk/stylus
2525
steps:
2626
- uses: actions/checkout@v4
27-
- name: Install Rust stable
28-
uses: actions-rs/toolchain@v1
29-
with:
30-
toolchain: stable
27+
- uses: actions-rust-lang/setup-rust-toolchain@v1
3128
- name: Install rust
3229
uses: actions-rust-lang/setup-rust-toolchain@v1
3330
with:
@@ -37,6 +34,6 @@ jobs:
3734
with:
3835
version: nightly
3936
- name: Install cargo-stylus
40-
run: cargo +stable install [email protected]
37+
run: cargo install [email protected]
4138
- name: Run wasm check
4239
run: ./scripts/check-wasm.sh

.github/workflows/ci-stylus-check.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,7 @@ jobs:
3535
- uses: actions/checkout@v4
3636
with:
3737
submodules: true
38-
39-
- name: Install rust
40-
# We run in nightly to make use of some features only available there.
41-
# Check out `rustfmt.toml` to see which ones.
42-
uses: actions-rust-lang/setup-rust-toolchain@v1
43-
with:
44-
toolchain: nightly-2024-09-05
45-
components: rustfmt
46-
rustflags: ""
47-
38+
- uses: actions-rust-lang/setup-rust-toolchain@v1
4839
- name: Check formatting
4940
run: cargo fmt --all --check
5041
clippy:

.github/workflows/ci-stylus-nostd.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ jobs:
3030
- uses: actions/checkout@v4
3131
with:
3232
submodules: true
33-
- name: Install rust
34-
uses: actions-rust-lang/setup-rust-toolchain@v1
35-
with:
36-
toolchain: stable
37-
rustflags: ""
33+
- uses: actions-rust-lang/setup-rust-toolchain@v1
3834
- uses: Swatinem/rust-cache@v2
3935
with:
4036
workspaces: "target_chains/ethereum/sdk/stylus -> target"

.github/workflows/ci-sui-contract.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@ jobs:
1717
working-directory: target_chains/sui/contracts/
1818
steps:
1919
- uses: actions/checkout@v3
20-
- uses: actions-rs/toolchain@v1
21-
with:
22-
toolchain: 1.77.0
23-
components: rustfmt, clippy
24-
override: true
20+
- uses: actions-rust-lang/setup-rust-toolchain@v1
2521
- uses: taiki-e/cache-cargo-install-action@v2
2622
with:
2723
tool: sui

0 commit comments

Comments
 (0)