Closed
Description
Upon attempting to set the checkout path
Lines 19 to 20 in af513c7
The following error was emitted:
Your workflow file was invalid: .github/workflows/build.yml (Line: 22, Col: 7): Unexpected value 'path'
My action file
name: Build & Deploy
on: [push]
jobs:
build:
name: Build & Deploy
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.12' ]
steps:
- name: Use go ${{ matrix.go-version }}
uses: actions/setup-go@v1
with:
version: ${{ matrix.go-version }}
id: go
- name: Checkout source
uses: actions/checkout@master
path: ${{ go.module-path }} # Line 22
- name: Install server dependencies
working-directory: ${{ go.module-path }}
run: go get -v -t -d -u ./server
- name: Build server
working-directory: ${{ go.module-path }}
run: go build ./server
Minimal reproduce case would be the golang starter workflow: https://github.com/actions/starter-workflows/blob/329e9a8e162a10b5e131d13efb78e57a5b86fdd6/ci/go.yml
Metadata
Metadata
Assignees
Labels
No labels