feat: cache support #44
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
semantic-pull-request: | |
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/semantic_pull_request.yml@v1 | |
e2e: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
cache: true | |
- if: runner.os != 'Windows' | |
run: | | |
if [[ $(shorebird --version) =~ "Engine • revision" ]]; then | |
echo '✅ Shorebird CLI is installed!' | |
else | |
echo '❌ Shorebird CLI is not installed.' | |
exit 1 | |
fi | |
- if: runner.os == 'Windows' | |
run: | | |
$shorebird_version = shorebird --version | |
if ($shorebird_version -match "Engine") { | |
Write-Output "✅ Shorebird CLI is installed!" | |
} else { | |
Write-Output "❌ Shorebird CLI is not installed." | |
exit 1 | |
} |