Multi-arch support #231
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: Test Pull Request | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
smoke: | |
name: Smoke Test | |
runs-on: ${{ matrix.runner }} | |
strategy: | |
matrix: | |
runner: [ ubuntu-22.04, buildjet-4vcpu-ubuntu-2204-arm ] | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 'stable' | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# TODO: once an official `pack` release is out with multi-arch support, we probably don't need to run with the token | |
- name: Run Smoke Tests | |
run: ./scripts/smoke.sh -t ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }} | |
upload: | |
name: Upload Workflow Event Payload | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: event-payload | |
path: ${{ github.event_path }} |