WIP: automated-testing #9
|
@ -12,6 +12,17 @@ on:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
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
|
||||||
build:
|
build:
|
||||||
container:
|
container:
|
||||||
# TODO use communitymedia docker registry
|
# TODO use communitymedia docker registry
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
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
|
|
Loading…
Reference in New Issue