diff --git a/.gitea/workflows/checks.yml b/.gitea/workflows/checks.yml index a4a5adc..4165ecf 100644 --- a/.gitea/workflows/checks.yml +++ b/.gitea/workflows/checks.yml @@ -12,6 +12,17 @@ on: - 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 build: container: # TODO use communitymedia docker registry diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml deleted file mode 100644 index b4eb8aa..0000000 --- a/.gitea/workflows/lint.yml +++ /dev/null @@ -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