Skip to content

build: set workdir

build: set workdir #36

Workflow file for this run

name: Go package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
env:
working-directory v2

Check failure on line 11 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / Go package

Invalid workflow file

The workflow is not valid. .github/workflows/build.yaml (Line: 11, Col: 7): Unexpected value 'working-directory v2'
steps:
- uses: actions/checkout@v3
- name: Setup Go 1.20.x
uses: actions/setup-go@v4
with:
# Semantic version range syntax or exact version of Go
go-version: '1.20.x'
- name: Install dependencies
run: |
go mod vendor
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...