forked from Fediversity/Fediversity
use cache for all steps
This commit is contained in:
parent
4ae4190415
commit
4495da07ba
3 changed files with 8 additions and 1 deletions
|
@ -12,6 +12,7 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- run: attic login fediversity http://attic.fediversity.net:8080 ${{ secrets.ATTIC_PUSH_KEY }} && attic use demo
|
||||
|
||||
- name: Set up SSH key to access age secrets
|
||||
run: |
|
||||
|
@ -21,4 +22,4 @@ jobs:
|
|||
chmod 600 ~/.ssh/id_ed25519
|
||||
|
||||
- name: Deploy
|
||||
- run: attic login fediversity http://attic.fediversity.net:8080 ${{ secrets.ATTIC_PUSH_KEY }} && attic use demo && attic push demo $(nix-build)
|
||||
- run: attic push demo $(nix-build)
|
||||
|
|
|
@ -12,6 +12,7 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- run: attic login fediversity http://attic.fediversity.net:8080 && attic use demo
|
||||
|
||||
- name: Set up SSH key for age secrets and SSH
|
||||
run: |
|
||||
|
|
|
@ -19,6 +19,7 @@ jobs:
|
|||
runs-on: nix
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: attic login fediversity http://attic.fediversity.net:8080 && attic use demo
|
||||
- run: nix-shell --run 'nix-unit ./deployment/data-model-test.nix'
|
||||
|
||||
check-mastodon:
|
||||
|
@ -37,22 +38,26 @@ jobs:
|
|||
runs-on: nix
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: attic login fediversity http://attic.fediversity.net:8080 && attic use demo
|
||||
- run: nix-build -A tests.panel
|
||||
|
||||
check-deployment-basic:
|
||||
runs-on: nix
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: attic login fediversity http://attic.fediversity.net:8080 && attic use demo
|
||||
- run: nix build .#checks.x86_64-linux.deployment-basic -L
|
||||
|
||||
check-deployment-cli:
|
||||
runs-on: nix
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: attic login fediversity http://attic.fediversity.net:8080 && attic use demo
|
||||
- run: nix build .#checks.x86_64-linux.deployment-cli -L
|
||||
|
||||
check-deployment-panel:
|
||||
runs-on: nix
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: attic login fediversity http://attic.fediversity.net:8080 && attic use demo
|
||||
- run: nix build .#checks.x86_64-linux.deployment-panel -L
|
||||
|
|
Loading…
Add table
Reference in a new issue