use new mint fn from nifty client; pack instructions #19
Workflow file for this run
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: Main | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
CACHE: true | |
jobs: | |
lint_rust: | |
name: Lint Rust | |
runs-on: buildjet-8vcpu-ubuntu-2204 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Load environment variables | |
run: cat .github/.env >> $GITHUB_ENV | |
- name: Install Rust | |
uses: nifty-oss/actions/install-rust@v1 | |
with: | |
toolchain: ${{ env.RUST_VERSION }} | |
- name: Run cargo fmt | |
uses: nifty-oss/actions/cargo@v1 | |
with: | |
command: fmt | |
args: --all -- --check | |
- name: Run cargo clippy | |
uses: nifty-oss/actions/cargo@v1 | |
with: | |
command: clippy | |
args: --all-targets --all-features --no-deps | |
build_and_release: | |
name: Build and Release | |
uses: ./.github/workflows/build.yml |