Skip to content

Tweak CI workflow

Tweak CI workflow #14

Workflow file for this run

name: Go
on:
push:
pull_request:
branches: [ "main" ]
permissions:
content: read

Check failure on line 9 in .github/workflows/go.yml

View workflow run for this annotation

GitHub Actions / Go

Invalid workflow file

The workflow is not valid. .github/workflows/go.yml (Line: 9, Col: 3): Unexpected value 'content'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...