update ci

This commit is contained in:
Mitchell Marino 2022-12-15 20:23:18 -06:00
parent 50288abc21
commit c646691764
2 changed files with 12 additions and 4 deletions

View File

@ -8,7 +8,15 @@ inputs:
- name: repo - name: repo
run: run:
path: cargo # path: cargo
args: ["fmt", "--", "--check"] # args: ["fmt", "--", "--check"]
dir: "repo" # dir: "repo"
# TODO: create an image with cargo check already installed
path: sh
args:
- -exc
- |
rustup component add rustfmt
cargo fmt -- --check

View File

@ -16,7 +16,7 @@ jobs:
file: repo/ci/lint.yml file: repo/ci/lint.yml
- task: audit - task: audit
file: repo/ci/audit.yml file: repo/ci/audit.yml
- name: build-linux - name: build
plan: plan:
- get: repo - get: repo
trigger: true trigger: true