move some steps into the base image
checks / format (push) Successful in 5s
Details
checks / format (push) Successful in 5s
Details
This commit is contained in:
parent
f55d57c8ef
commit
e56a40a469
|
@ -7,17 +7,12 @@ jobs:
|
|||
lint:
|
||||
runs_on: "alpine_amd64"
|
||||
container:
|
||||
image: "rust:1.73-alpine3.18"
|
||||
# TODO use communitymedia docker registry
|
||||
image: "cascode/aural-isle-ci:0"
|
||||
name: format
|
||||
steps:
|
||||
- name: TODO put in image base
|
||||
run: apk add nodejs git
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
github-server-url: "https://code.communitymedia.network"
|
||||
- name: TODO put in image base
|
||||
run: rustup component add rustfmt
|
||||
- name: ls
|
||||
run: "ls -al && pwd"
|
||||
- name: rustfmt
|
||||
run: cargo fmt --check
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
FROM rust:1.73-alpine3.18
|
||||
|
||||
#install build tooling
|
||||
RUN rustup component add rustfmt
|
||||
|
||||
# install gitea act_runner dependencies
|
||||
RUN apk add nodejs git
|
Loading…
Reference in New Issue