This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
Task details can now be expanded. #324
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
on: | |
push: | |
branches: [main, next] | |
pull_request: | |
branches: [main, next] | |
name: CI | |
jobs: | |
rustfmt: | |
name: Rustfmt | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
components: rustfmt | |
- name: Create blank versions of configured file | |
run: echo -e "" >> src/config.rs | |
- name: Run cargo fmt | |
run: cargo fmt --all -- --check |