Skip to content

Merge pull request #7 from tjhop/ci/add-pr-tests #2

Merge pull request #7 from tjhop/ci/add-pr-tests

Merge pull request #7 from tjhop/ci/add-pr-tests #2

Workflow file for this run

name: tests
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
steps:

Check failure on line 18 in .github/workflows/tests.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yaml

Invalid workflow file

You have an error in your yaml syntax on line 18
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- run: git fetch --force --tags
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.23.0'
cache: true
- name: Go Preflight Tests
run: |
go mod tidy
go test -v ./...