WIP: add automated format check #8
|
@ -0,0 +1,21 @@
|
|||
name: checks
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs_on: "alpine_amd64"
|
||||
container:
|
||||
image: "rust:1.73-alpine3.18"
|
||||
name: format
|
||||
steps:
|
||||
- name: TODO put in image base
|
||||
run: apk add nodejs
|
||||
- uses: actions/checkout@v4
|
||||
- name: TODO put in image base
|
||||
run: rustup component add rustfmt
|
||||
- name: ls
|
||||
run: "ls -al && pwd"
|
||||
- name: rustfmt
|
||||
run: cargo fmt --check
|
Loading…
Reference in New Issue