.gitea/build-and-test: enable cache
All checks were successful
Build and test / build (push) Successful in 10m31s
Build and test / docs (push) Successful in 10m41s
Build and test / check (push) Successful in 10m39s
Build and test / test (push) Successful in 2m17s

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

View File

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