fix(deps): update module github.com/alecthomas/kong to v1 #257
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: | |
branches: | |
- main | |
pull_request_target: | |
branches: | |
- main | |
jobs: | |
go-versions: | |
name: lookup go versions | |
runs-on: ubuntu-latest | |
outputs: | |
matrix: ${{ steps.versions.outputs.matrix }} | |
latest: ${{ steps.versions.outputs.latest }} | |
steps: | |
- name: check out code | |
uses: actions/[email protected] | |
- uses: arnested/[email protected] | |
id: versions | |
build: | |
runs-on: ${{ matrix.os }} | |
needs: go-versions | |
strategy: | |
matrix: | |
go-version: ${{ fromJSON(needs.go-versions.outputs.matrix) }} | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- name: setup go ${{ matrix.go-version }} | |
uses: actions/[email protected] | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: check out code | |
uses: actions/[email protected] | |
- name: install | |
run: go install -mod=readonly ./cmd/tuplip | |
- name: test | |
run: go test -v ./... |