mirror of
https://github.com/obi1kenobi/cargo-semver-checks-action.git
synced 2024-11-22 16:09:33 +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
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
compare-dist:
|
test-build:
|
||||||
name: Test build
|
name: Test build
|
||||||
uses: ./.github/workflows/test-build.yml
|
uses: ./.github/workflows/test-build.yml
|
||||||
|
|
||||||
test-action:
|
test-action:
|
||||||
name: Test the action on ubuntu-latest
|
name: Test the action
|
||||||
uses: ./.github/workflows/test-action.yml
|
uses: ./.github/workflows/test-action.yml
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
with:
|
with:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
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
|
|
||||||
|
|
Loading…
Reference in a new issue