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 2 additions and 27 deletions
Showing only changes of commit 35ac4f9aa8 - Show all commits

View File

@ -18,18 +18,5 @@ jobs:
uses: actions/checkout@v3
- name: Get access token from secret
run: echo "${{ secrets.MASTODON_SECRET }}" > mastodon-data.toml
- name: Restore cached target
uses: actions/cache/restore@v3
with:
path: |
target/
key: ${{ runner.os }}-target
- run: ls
- name: Run tests on docker
run: docker compose down -v && docker compose run bot t
- name: Save target
uses: actions/cache/save@v3
with:
path: |
target/
key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }}
run: docker compose down -v && docker compose run bot t

View File

@ -42,12 +42,6 @@ jobs:
registry: git.fai.st
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Restore cached target
uses: actions/cache/restore@v3
with:
path: |
target/
key: ${{ runner.os }}-target
- name: Build and push
uses: docker/build-push-action@v4
with:
@ -55,10 +49,4 @@ jobs:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Save target
uses: actions/cache/save@v3
with:
path: |
target/
key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }}
labels: ${{ steps.meta.outputs.labels }}