[CI] Decouple deploying contracts from compilation #1391
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: Lint contracts | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Lint contracts | |
runs-on: [self-hosted, Linux, X64, large] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: "Install Rust toolchain" | |
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v6 | |
- name: Lint contracts code | |
shell: bash | |
run: make contracts-lint |