diff --git a/.gitea/workflows/build-and-test.yml b/.gitea/workflows/build-and-test.yml index 824ec55..1958b95 100644 --- a/.gitea/workflows/build-and-test.yml +++ b/.gitea/workflows/build-and-test.yml @@ -8,25 +8,17 @@ on: jobs: build: runs-on: ubuntu-latest - env: - # Needed to enable the cache: https://about.gitea.com/resources/tutorials/enable-gitea-actions-cache-to-accelerate-cicd - RUNNER_TOOL_CACHE: /toolcache steps: - uses: actions/checkout@v4 - name: Install rust toolchain uses: dtolnay/rust-toolchain@stable - - name: Cache dependencies - uses: Swatinem/rust-cache@v2 - - name: Build run: cargo build --all-features --verbose --release check: runs-on: ubuntu-latest - env: - RUNNER_TOOL_CACHE: /toolcache steps: - uses: actions/checkout@v4 @@ -35,9 +27,6 @@ jobs: with: components: rustfmt, clippy - - name: Cache dependencies - uses: Swatinem/rust-cache@v2 - - name: Check code format run: cargo fmt -- --check @@ -46,8 +35,6 @@ jobs: test: runs-on: ubuntu-latest - env: - RUNNER_TOOL_CACHE: /toolcache steps: - uses: actions/checkout@v4 @@ -106,17 +93,12 @@ jobs: docs: runs-on: ubuntu-latest - env: - RUNNER_TOOL_CACHE: /toolcache steps: - uses: actions/checkout@v4 - name: Install rust toolchain uses: dtolnay/rust-toolchain@stable - - name: Cache dependencies - uses: Swatinem/rust-cache@v2 - - name: Build docs run: cargo doc --all-features --document-private-items --release