From 411600946647394c45ee94d50b276910ebfc5239 Mon Sep 17 00:00:00 2001 From: cascode Date: Sat, 21 Oct 2023 14:11:49 -0700 Subject: [PATCH] Revert "more concise" This reverts commit a0e6005acd55bf86a73ef180c425a67e7a040bef. --- .gitea/workflows/checks.yml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/checks.yml b/.gitea/workflows/checks.yml index 3e56abe..4165ecf 100644 --- a/.gitea/workflows/checks.yml +++ b/.gitea/workflows/checks.yml @@ -1,40 +1,46 @@ name: checks on: pull_request: - paths: &CODE_PATHS + paths: - 'src/**' - 'Cargo*' push: - paths: *CODE_PATHS + paths: + - 'src/**' + - 'Cargo*' branches: - main jobs: # TODO(cascode) cache checkout for build and test stages? lint: - container: &BUILD_CONTAINER + container: # TODO use communitymedia docker registry - image: &BUILDER_IMAGE "cascode/aural-isle-ci:2" + image: "cascode/aural-isle-ci:0" steps: - uses: actions/checkout@v3 with: - github-server-url: &GIT_URL "https://code.communitymedia.network" + github-server-url: "https://code.communitymedia.network" - name: rustfmt run: cargo fmt --check build: - container: *BUILD_CONTAINER + container: + # TODO use communitymedia docker registry + image: "cascode/aural-isle-ci:2" steps: - uses: actions/checkout@v3 with: - github-server-url: *GIT_URL + github-server-url: "https://code.communitymedia.network" - name: build run: cargo build # TODO(cascode) cache builds for test stage test: - container: *BUILD_CONTAINER + container: + # TODO use communitymedia docker registry + image: "cascode/aural-isle-ci:2" steps: - uses: actions/checkout@v3 with: - github-server-url: *GIT_URL + github-server-url: "https://code.communitymedia.network" - name: run unit tests run: cargo test