Skip to content

Commit

Permalink
Updae CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-cichocki committed Dec 4, 2023
1 parent 9e65974 commit 694acd8
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v3

- name: Cache Crates
uses: actions/cache@v3
with:
path: ~/.cargo
key: ${{ runner.os }}-rust-${{ hashFiles('rust-toolchain.toml') }}
restore-keys: |
${{ runner.os }}-rust
# - name: Cache Crates
# uses: actions/cache@v3
# with:
# path: ~/.cargo
# key: ${{ runner.os }}-rust-${{ hashFiles('rust-toolchain.toml') }}
# restore-keys: |
# ${{ runner.os }}-rust

- name: Cache Crates 2
- name: Cache Crates
uses: actions/cache@v3
with:
path: ~/.cargo
key: ${{ runner.os }}-substrate-contracts-node-${{ hashFiles('rust-toolchain.toml') }}

# - name: Install Rust toolchain
# uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v1

- name: Install Rust toolchain
run: |
rustup show
rustup component add rust-src
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v1

# - name: Install Rust toolchain
# run: |
# rustup show
# rustup component add rust-src

- name: Run cargo fmt
uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -104,9 +104,9 @@ jobs:
command: install
args: --locked cargo-contract

- name: Install Protobuf
run: |
sudo apt-get install -y protobuf-compiler libprotobuf-dev
# - name: Install Protobuf
# run: |
# sudo apt-get install -y protobuf-compiler libprotobuf-dev

# - name: Install substrate-contracts-node
# uses: actions-rs/cargo@v1
Expand Down

0 comments on commit 694acd8

Please sign in to comment.