Skip to content

Bump baptiste0928/cargo-install from 3.0.0 to 3.0.1 #105

Bump baptiste0928/cargo-install from 3.0.0 to 3.0.1

Bump baptiste0928/cargo-install from 3.0.0 to 3.0.1 #105

Workflow file for this run

name: Contract check
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
contract-check:
strategy:
matrix:
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: contract
steps:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install Rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions/checkout@v4
- name: Cache
uses: Swatinem/rust-cache@v2
- name: Install cargo-contract
uses: baptiste0928/cargo-install@94e1849646e5797d0c8b34d8e525124ae9ae1d86 # v3.0.1
with:
crate: cargo-contract
version: "4.0.0-rc.1"
- name: Run contract check
run: |
cargo contract check