diff --git a/.gitea/workflows/checks.yml b/.gitea/workflows/checks.yml index 176c323..f76c69f 100644 --- a/.gitea/workflows/checks.yml +++ b/.gitea/workflows/checks.yml @@ -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 diff --git a/ci/Dockerfile b/ci/Dockerfile new file mode 100644 index 0000000..ec93337 --- /dev/null +++ b/ci/Dockerfile @@ -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