Skip to content

Commit

Permalink
ci(e2e): test with cache
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Sep 15, 2023
1 parent f6652a9 commit f82e7ec
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,38 @@ jobs:
run: |
tree -nh ./dist
cache:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build
uses: docker/bake-action@v4
with:
targets: binary
-
name: Run
run: |
${{ env.DESTDIR }}/build/undock --log-level debug --rm-dist --all crazymax/diun:4.20.1 ./dist
-
name: Dist content
run: |
tree -nh ./dist
-
name: Re Run
run: |
rm -rf ./dist2
${{ env.DESTDIR }}/build/undock --log-level debug --rm-dist --all crazymax/diun:4.20.1 ./dist2
-
name: Dist content
run: |
tree -nh ./dist2
docker-daemon:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit f82e7ec

Please sign in to comment.