From cab2d755a7bd96205679dfd248eb6e2966c61546 Mon Sep 17 00:00:00 2001 From: Alie Date: Sat, 17 Feb 2024 14:14:33 +0100 Subject: [PATCH] test --- .gitea/workflows/01_test.yaml | 5 ++--- .gitea/workflows/02_build.yaml | 4 +--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/01_test.yaml b/.gitea/workflows/01_test.yaml index 539af04..5ed0147 100644 --- a/.gitea/workflows/01_test.yaml +++ b/.gitea/workflows/01_test.yaml @@ -19,16 +19,15 @@ jobs: - name: Get access token from secret run: echo "${{ secrets.MASTODON_SECRET }}" > mastodon-data.toml - name: Restore cached target - id: cache-primes-restore uses: actions/cache/restore@v3 with: path: | target/ - key: ${{ runner.os }}-primes + key: ${{ runner.os }}-target + - run: ls - name: Run tests on docker run: docker compose down -v && docker compose run bot t - name: Save target - id: cache-primes-save uses: actions/cache/save@v3 with: path: | diff --git a/.gitea/workflows/02_build.yaml b/.gitea/workflows/02_build.yaml index 366d30b..3723dd7 100644 --- a/.gitea/workflows/02_build.yaml +++ b/.gitea/workflows/02_build.yaml @@ -43,12 +43,11 @@ jobs: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_PASS }} - name: Restore cached target - id: cache-primes-restore uses: actions/cache/restore@v3 with: path: | target/ - key: ${{ runner.os }}-primes + key: ${{ runner.os }}-target - name: Build and push uses: docker/build-push-action@v4 with: @@ -58,7 +57,6 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - name: Save target - id: cache-primes-save uses: actions/cache/save@v3 with: path: |