Skip to content

fix: syntax

fix: syntax #8

Workflow file for this run

name: main
on: ["push", "pull_request"]
jobs:
lint:
name: "Lint"
strategy:
fail-fast: false
matrix:

Check failure on line 11 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / main

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 11, Col: 14): Unexpected value '' .github/workflows/main.yml (Line: 12, Col: 7): Unexpected value 'os'
os: ["windows-latest", "ubuntu-latest", "macOS-latest"]
go: ["1.21.x"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: WillAbides/setup-go-faster@v1.21.6
with:
go-version: ${{ matrix.go }}
- run: "go vet ./..."
- uses: dominikh/staticcheck-action@v1.2.0
with:
version: "2022.1.1"
install-go: false
cache-key: ${{ matrix.go }}