Skip to content

Fix CI syntax

Fix CI syntax #9

Workflow file for this run

name: "Run Tests"
on: [push, pull_request, workflow_dispatch]

Check failure on line 2 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
paths-ignore:
- 'README.md'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.19', '1.20', '1.21.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: go get .
- name: Test with the Go CLI
run: go test ./...
- name: Build
run: go build -v ./...