Skip to content

fix: fix conditional execution of chained build/install commands #14

fix: fix conditional execution of chained build/install commands

fix: fix conditional execution of chained build/install commands #14

Workflow file for this run

name: Pull request
on:
pull_request:
branches:
- main
jobs:
vet:
name: Vet
runs-on: ubuntu-latest
concurrency:
group: ${{ github.head_ref }}-vet
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup asdf
uses: asdf-vm/actions/install@v3
- name: Install dependencies
run: go mod download
- name: Add asdf shims to PATH
run: |
echo "${HOME}/.asdf/shims" >> $GITHUB_PATH
- name: Lint
run: go vet ./...
- name: Run tests
run: go test -v ./...