Skip to content

chore(deps): pin dependencies #239

chore(deps): pin dependencies

chore(deps): pin dependencies #239

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:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: arnested/go-version-action@b4aefb809febc150eb645efd31b1a3fd50b2068a # v1.1.16
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/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ matrix.go-version }}
- name: check out code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: install
run: go install -mod=readonly ./cmd/tuplip
- name: test
run: go test -v ./...