WIP: add automated format check #8

Closed
cascode wants to merge 8 commits from automated-testing into main
1 changed files with 21 additions and 0 deletions

View File

@ -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