Skip to content

chore(deps): update arnested/go-version-action action to v1.1.18 #260

chore(deps): update arnested/go-version-action action to v1.1.18

chore(deps): update arnested/go-version-action action to v1.1.18 #260

Workflow file for this run

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/go-version-action@0a5fcb7e223e96f0c307375b6cabb184eac1cc79 # v1.1.17
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 ./...