Skip to content

Commit

Permalink
ci: test built image
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed May 3, 2023
1 parent 3fa54fe commit 472efe9
Showing 1 changed file with 27 additions and 9 deletions.
36 changes: 27 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ci
on:
workflow_dispatch:
schedule:
- cron: '0 10 * * *' # everyday at 10am
- cron: '0 10 * * *'
push:
branches:
- 'master'
Expand All @@ -14,14 +14,32 @@ on:
- 'releases/v*'

jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
linux:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Build image
uses: docker/bake-action@v3
with:
targets: image-local
-
name: Choco help
uses: ./
with:
args: -h
image: ghaction-chocolatey:local
-
name: Choco install InnoSetup
uses: ./
with:
args: install innosetup --no-progress
image: ghaction-chocolatey:local

windows:
runs-on: windows-latest
steps:
-
name: Checkout
Expand Down

0 comments on commit 472efe9

Please sign in to comment.