Bump Go versions and reorder steps as with v2-maint #2062
Workflow file for this run
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: Run Tests | |
on: | |
pull_request: | |
branches: | |
- v1-maint | |
push: | |
branches: | |
- v1-maint | |
tags: | |
- v1.* | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
go: [stable, oldstable] | |
name: ${{ matrix.os }} @ Go ${{ matrix.go }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Set up Go ${{ matrix.go }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Install Dependencies | |
run: npm install markdown-toc | |
- name: Run Tests | |
run: | | |
go run build.go vet | |
go run build.go test | |
go run build.go -tags urfave_cli_no_docs test | |
go run build.go toc docs/v1/manual.md |