Skip to content

maint: fix workflow file for the last time #4

maint: fix workflow file for the last time

maint: fix workflow file for the last time #4

Workflow file for this run

name: CI
on: [push]
branch: master

Check failure on line 3 in .github/workflows/master.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/master.yml (Line: 3, Col: 1): Unexpected value 'branch'
jobs:
build:
name: Build, lint, and test with Go version ${{ matrix.go }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: ['1.20', '1.21']
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v5
- name: Setup Go environment
uses: actions/setup-go@v5.0.0
with:
check-latest: true
go-version: ${{ matrix.go }}
cache-dependency-path: |
go.sum
- run: go test -v ./internal/... ./gwirl/...