build and test pipelines #2

Merged
bizcochito merged 37 commits from build into develop 2024-02-23 07:14:21 +00:00
2 changed files with 3 additions and 6 deletions
Showing only changes of commit cab2d755a7 - Show all commits

View File

@ -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: |

View File

@ -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: |