diff --git a/.gitea/workflows/checks.yml b/.gitea/workflows/checks.yml new file mode 100644 index 0000000..50ae6fc --- /dev/null +++ b/.gitea/workflows/checks.yml @@ -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