-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add a workflow to test all packages (#16093)
- Loading branch information
1 parent
cbf2105
commit 9cd6eaa
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
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
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}} |