Skip to content

Have getLatestPipelineID return branch pipeline ID if no merge request pipeline was found #83

Have getLatestPipelineID return branch pipeline ID if no merge request pipeline was found

Have getLatestPipelineID return branch pipeline ID if no merge request pipeline was found #83

name: go ci
on:
pull_request:
paths:
- '.github/workflows/on_pull_request_go.yaml'
- 'Earthfile'
- '*/**.go'
- '*.go'
- 'go.mod'
- 'go.sum'
jobs:
ci-golang:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: wistia/[email protected]
- uses: earthly/actions-setup@v1
with: { version: "v${{ env.EARTHLY_TOOL_VERSION }}" }
- run: earthly +ci-golang --GOLANG_VERSION=${{ env.GOLANG_TOOL_VERSION }}