Skip to content

Migrate from circleci to gh actions #1

Migrate from circleci to gh actions

Migrate from circleci to gh actions #1

Workflow file for this run

name: checks
on:
push:
branches: [ main ]
pull_request:
release:
types: [created]
jobs:
contract_cw1_subkeys:
runs-on: ubuntu-latest
defaults:
run:
working-directory: contracts/cw1-subkeys
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: cw1-subkeys-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.76.0
- run: cargo unit-test --locked
env:
RUST_BACKTRACE: 1
- run: cargo schema --locked