Retrofitted to pure Rust #166
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: CI | |
on: | |
push: | |
branches: | |
- master | |
- staging | |
- trying | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
style: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Rust nightly toolchains | |
uses: dtolnay/rust-toolchain@nightly | |
with: | |
components: rustfmt | |
- name: Check code style | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --all -- --check | |
- name: Install Rust stable toolchains | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy | |
- name: Lint code by clippy | |
uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --all-targets --all-features -- -D warnings' | |
build: | |
uses: ./.github/workflows/build.yml | |
with: | |
name: fontfor |