Move offline dependencies into platform-specific directories for multi-arch #7
This file contains hidden or 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 | |
| - v* | |
| jobs: | |
| unit: | |
| name: Unit Tests | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Docker Multi-Platform Builds | |
| run: | | |
| docker run --privileged --rm docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64 | |
| - name: Run Unit Tests | |
| run: ./scripts/unit.sh | |
| upload: | |
| name: Upload Workflow Event Payload | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: event-payload | |
| path: ${{ github.event_path }} |