mirror of
https://github.com/obi1kenobi/cargo-semver-checks-action.git
synced 2024-11-22 07:59:32 +01:00
Use matrix strategy in CI
This commit is contained in:
parent
9d38089c3c
commit
733726affb
1 changed files with 6 additions and 15 deletions
21
.github/workflows/ci.yml
vendored
21
.github/workflows/ci.yml
vendored
|
@ -7,24 +7,15 @@ on:
|
|||
- main
|
||||
|
||||
jobs:
|
||||
compare-dist:
|
||||
test-build:
|
||||
name: Test build
|
||||
uses: ./.github/workflows/test-build.yml
|
||||
|
||||
test-action:
|
||||
name: Test the action on ubuntu-latest
|
||||
name: Test the action
|
||||
uses: ./.github/workflows/test-action.yml
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
with:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
test-action-windows-latest:
|
||||
name: Test the action on windows-latest
|
||||
uses: ./.github/workflows/test-action.yml
|
||||
with:
|
||||
runs-on: windows-latest
|
||||
|
||||
test-action-macos-latest:
|
||||
name: Test the action on macos-latest
|
||||
uses: ./.github/workflows/test-action.yml
|
||||
with:
|
||||
runs-on: macos-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
Loading…
Reference in a new issue