20 lines
422 B
YAML
20 lines
422 B
YAML
|
name: lint
|
||
|
on:
|
||
|
pull_request:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
|
||
|
jobs:
|
||
|
# TODO(cascode) cache checkout for build and test stages?
|
||
|
lint:
|
||
|
container:
|
||
|
# TODO use communitymedia docker registry
|
||
|
image: "cascode/aural-isle-ci:0"
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
with:
|
||
|
github-server-url: "https://code.communitymedia.network"
|
||
|
- name: rustfmt
|
||
|
run: cargo fmt --check
|