Skip to content

Add new format go build line for Windows #244

Add new format go build line for Windows

Add new format go build line for Windows #244

Workflow file for this run

name: darwin
on: [push]
jobs:
build:
name: build
runs-on: [ macos-latest ]
steps:
strategy:
matrix:
go: [ '1.22', '1.20', '1.16' ]
steps:

Check failure on line 12 in .github/workflows/darwin.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/darwin.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build
run: go build -v .
- name: Test
run: go test ./...