Merge pull request #1043 from aluzzardi/enable-gha-caching
enable gha caching
This commit is contained in:
commit
7ef717557b
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -97,7 +97,13 @@ jobs:
|
||||
mkdir -p ~/.config/dagger
|
||||
echo "$DAGGER_AGE_KEY" > ~/.config/dagger/keys.txt
|
||||
|
||||
- name: Expose GitHub Runtime
|
||||
uses: crazy-max/ghaction-github-runtime@v1
|
||||
|
||||
- name: Integration test
|
||||
env:
|
||||
DAGGER_CACHE_TO: "type=gha,mode=max,scope=integration"
|
||||
DAGGER_CACHE_FROM: "type=gha,mode=max,scope=integration"
|
||||
run: |
|
||||
env
|
||||
make core-integration
|
||||
@ -151,11 +157,18 @@ jobs:
|
||||
aws --endpoint-url=http://localhost:4566 s3 mb s3://dagger-ci
|
||||
aws --endpoint-url=http://localhost:4566 ecr create-repository --repository-name dagger-ci
|
||||
|
||||
- name: Expose GitHub Runtime
|
||||
uses: crazy-max/ghaction-github-runtime@v1
|
||||
|
||||
- name: Universe Test
|
||||
env:
|
||||
DAGGER_CACHE_TO: "type=gha,mode=max,scope=universe"
|
||||
DAGGER_CACHE_FROM: "type=gha,mode=max,scope=universe"
|
||||
run: |
|
||||
make universe-test
|
||||
|
||||
website:
|
||||
name: Website
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@ -252,6 +265,12 @@ jobs:
|
||||
mkdir -p ~/.config/dagger
|
||||
echo "$DAGGER_AGE_KEY" > ~/.config/dagger/keys.txt
|
||||
|
||||
- name: Expose GitHub Runtime
|
||||
uses: crazy-max/ghaction-github-runtime@v1
|
||||
|
||||
- name: Documentation Test
|
||||
env:
|
||||
DAGGER_CACHE_TO: "type=gha,mode=max,scope=docs"
|
||||
DAGGER_CACHE_FROM: "type=gha,mode=max,scope=docs"
|
||||
run: |
|
||||
make doc-test
|
||||
|
Reference in New Issue
Block a user