Skip to content

Commit

Permalink
ci: add a workflow to test all packages (#16093)
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke authored Oct 7, 2023
1 parent cbf2105 commit 9cd6eaa
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/test-all.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: test all packages
on: workflow_dispatch

permissions: {}
env:
AQUA_LOG_COLOR: always
jobs:
test:
strategy:
matrix:
env:
- runs-on: windows-latest
- runs-on: ubuntu-latest
- runs-on: macos-latest
- runs-on: ubuntu-latest
goarch: arm64
- runs-on: macos-latest
goos: darwin
goarch: arm64
- runs-on: windows-latest
goarch: arm64
runs-on: ${{ matrix.env.runs-on }}
defaults:
run:
shell: bash
env:
AQUA_CONFIG: aqua-all.yaml
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: aquaproj/aqua-installer@36dc5833b04eb63f06e3bb818aa6b7a6e6db99a9 # v2.1.2
with:
aqua_version: v2.13.0-1
policy_allow: "true"
env:
AQUA_GITHUB_TOKEN: ${{github.token}}
- run: aqua i
env:
AQUA_GITHUB_TOKEN: ${{steps.generate_token.outputs.token}}

0 comments on commit 9cd6eaa

Please sign in to comment.