move some steps into the base image
This commit is contained in:
parent
9f39ca1530
commit
1aa74806c8
|
@ -7,17 +7,12 @@ jobs:
|
||||||
lint:
|
lint:
|
||||||
runs_on: "alpine_amd64"
|
runs_on: "alpine_amd64"
|
||||||
container:
|
container:
|
||||||
image: "rust:1.73-alpine3.18"
|
# TODO use communitymedia docker registry
|
||||||
|
image: "cascode/aural-isle-ci:0"
|
||||||
name: format
|
name: format
|
||||||
steps:
|
steps:
|
||||||
- name: TODO put in image base
|
|
||||||
run: apk add nodejs git
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
github-server-url: "https://code.communitymedia.network"
|
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
|
- name: rustfmt
|
||||||
run: cargo fmt --check
|
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