mirror of
https://github.com/13hannes11/toolbx-tuner.git
synced 2024-09-03 23:21:00 +02:00
update workflow files
This commit is contained in:
22
.github/workflows/linting.yml
vendored
Normal file
22
.github/workflows/linting.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
name: CI
|
||||
|
||||
jobs:
|
||||
rustfmt:
|
||||
name: Rustfmt
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: stable
|
||||
components: rustfmt
|
||||
- name: Create blank versions of configured file
|
||||
run: echo -e "" >> src/config.rs
|
||||
- name: Run cargo fmt
|
||||
run: cargo fmt --all -- --check
|
||||
Reference in New Issue
Block a user