From 00cae63272ee6cffc0bed027288617b3b732c1d2 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sat, 14 Dec 2024 14:05:23 +0100 Subject: [PATCH] .gitea/build-and-test: remove caching step This don't seem to be working properly, and it takes a lot of time to time out. Let's remove it for now --- .gitea/workflows/build-and-test.yml | 18 ------------------ 1 file changed, 18 deletions(-) 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