.gitea/build-and-test: remove caching step
Some checks failed
Build and test / build (push) Successful in 1m1s
Build and test / check (push) Successful in 1m4s
Build and test / test (push) Failing after 2m18s
Build and test / docs (push) Successful in 2m55s

This don't seem to be working properly, and it takes a lot of time to
time out. Let's remove it for now
This commit is contained in:
Oystein Kristoffer Tveit 2024-12-14 14:05:23 +01:00
parent 99884b670d
commit 00cae63272
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -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