Bump dependencies, tested go versions, and actions steps for v1 #2059
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: [1.21.x, 1.22.x] | |
name: ${{ matrix.os }} @ Go ${{ matrix.go }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Set up Go ${{ matrix.go }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- 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 |