Skip to content

Update github action to use the latest stable version #95

Update github action to use the latest stable version

Update github action to use the latest stable version #95

Workflow file for this run

name: Go
on: [push]
jobs:
build:
name: Build
ru-on: ubuntu-latest

Check failure on line 7 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: 7, Col: 5): Unexpected value 'ru-on' .github/workflows/go.yml (Line: 6, Col: 5): Required property is missing: runs-on
steps:
- name: Set up Go stable version
uses: actions/setup-go@v4
with:
go-version: 'stable'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: |
go generate ./bus/...
go generate ./meta/...
go generate ./type/...
go generate ./examples/...
go build ./...
- name: Test
run: |
go vet -composites=false ./...
go test ./... -race