Merge pull request #3 from figsoda/dependabot/github_actions/actions/… #17
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: ci | |
on: [push, pull_request] | |
jobs: | |
ci: | |
name: ci | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: "Cargo: test, clippy, fmt" | |
run: | | |
rustup toolchain install stable --profile minimal -c clippy | |
rustup toolchain install nightly --profile minimal -c rustfmt | |
cargo +stable test | |
cargo +stable clippy -- -D warnings | |
cargo +nightly fmt -- --check |