ci: remove v1 parameters #1192
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: build | |
on: | |
push: | |
paths-ignore: | |
- 'LICENSE' | |
- '*.md' | |
branches: | |
- master | |
pull_request: | |
paths-ignore: | |
- 'LICENSE' | |
- '*.md' | |
jobs: | |
test-on-cross-platform: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macOS-13 | |
- macOS-latest | |
version: | |
- 2.0.x | |
- devel | |
exclude: | |
- os: windows-latest | |
version: devel | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
nim-version: ${{ matrix.version }} | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Print Nim version | |
run: nim -v | |
- name: Print Nimble version | |
run: nimble -v | |
- name: Run build test | |
run: nimble install -Y nimjson | |
- name: Run command | |
run: nimjson -h | |
test-multi-versions: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
version: | |
- 1.4.x | |
- 1.6.0 | |
- 1.6.x | |
- 1.x | |
- 2.0.x | |
- 2.x | |
- stable | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
nim-version: ${{ matrix.version }} | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Print Nim version | |
run: nim -v | |
- name: Print Nimble version | |
run: nimble -v | |
- name: Run build test | |
run: nimble install -Y nimjson | |
- name: Run command | |
run: nimjson -h |