Update to Polkadot SDK 1.6.0 #1051
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Code | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test-code: | |
runs-on: ubuntu-latest | |
env: | |
# Make sure CI fails on all warnings, including Clippy lints | |
RUSTFLAGS: "-Dwarnings" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Free up Space and Installation | |
uses: ./.github/actions/shared | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --release | |
- name: Test for Runtime Benchmarks | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --release --features=runtime-benchmarks,try-runtime |