.gitea/build-and-test: enable cache
All checks were successful
Build and test / test (push) Successful in 8m37s
Build and test / check (push) Successful in 11m0s
Build and test / build (push) Successful in 15m44s
Build and test / docs (push) Successful in 14m10s

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-12 12:33:55 +01:00
parent 21f8a043eb
commit 65b0e9270d
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -8,6 +8,9 @@ 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
@ -22,6 +25,8 @@ jobs:
check:
runs-on: ubuntu-latest
env:
RUNNER_TOOL_CACHE: /toolcache
steps:
- uses: actions/checkout@v4
@ -41,6 +46,8 @@ jobs:
test:
runs-on: ubuntu-latest
env:
RUNNER_TOOL_CACHE: /toolcache
steps:
- uses: actions/checkout@v4
@ -99,6 +106,8 @@ jobs:
docs:
runs-on: ubuntu-latest
env:
RUNNER_TOOL_CACHE: /toolcache
steps:
- uses: actions/checkout@v4