mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-21 06:25:44 +00:00
Run tests on all runner types
This commit is contained in:
10
.github/workflows/test-and-release.yml
vendored
10
.github/workflows/test-and-release.yml
vendored
@@ -72,12 +72,20 @@ jobs:
|
||||
- lint
|
||||
- test
|
||||
- test-api-mode
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- macos-latest
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
fail-fast: true
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout code # have to checkout to have the source code available
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Remove .git directory # remove the git directory to make the testing valid
|
||||
shell: bash
|
||||
run: rm -rf .git/
|
||||
|
||||
- name: Get next version via API
|
||||
|
||||
Reference in New Issue
Block a user