Initiating release of 0.16.0 #836
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: Testing | |
permissions: | |
actions: write | |
contents: read | |
on: | |
pull_request: | |
jobs: | |
skip-check: | |
name: Run tests except on release | |
runs-on: ubuntu-latest | |
outputs: | |
should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
steps: | |
- id: skip_check | |
uses: fkirc/skip-duplicate-actions@12aca0a884f6137d619d6a8a09fcc3406ced5281 | |
with: | |
paths_ignore: '["releases/**"]' | |
command: | |
name: Command | |
needs: skip-check | |
if: ${{ needs.skip-check.outputs.should_skip != 'true' }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
command: ['do-release', 'release'] | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
with: | |
fetch-depth: 0 | |
- name: Test the `make ${{ matrix.command }}` command | |
env: | |
# Needed for testing as we're running validations which hit the GH API rate limit | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: make test-${{ matrix.command }} | |
entire-release: | |
name: Entire release process | |
needs: skip-check | |
if: ${{ needs.skip-check.outputs.should_skip != 'true' }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
version: ['100.0.0-m0', '100.0.0-rc0'] | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
with: | |
fetch-depth: 0 | |
# Needed to properly build multi-arch Shipyard images when branching out | |
- name: Set up QEMU (to support building on non-native architectures) | |
uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 | |
- name: Set up buildx | |
uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 | |
- name: Test the entire release | |
env: | |
# Needed for testing as we're running validations which hit the GH API rate limit | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: make test-entire-release VERSION="${{ matrix.version }}" |