Testing pr #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request CI | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
run-unit-tests: | ||
name: Run Unit Tests | ||
uses: ./.github/workflows/test.yaml | ||
lint: | ||
name: Lint | ||
uses: ./.github/workflows/lint-go.yaml | ||
# This doesn't publish the image, it just tests the publishing workflow (build the image / tags / labels) | ||
test-docker-publish: | ||
name: Test Docker Publish | ||
uses: ./.github/workflows/publish-docker-image.yaml | ||
Check failure on line 21 in .github/workflows/on-pull-request.yaml GitHub Actions / .github/workflows/on-pull-request.yamlInvalid workflow file
|
||
secrets: inherit | ||
needs: | ||
- run-unit-tests | ||
- lint | ||
permissions: | ||
contents: read | ||
packages: write | ||
with: | ||
images: | | ||
ghcr.io/${{ github.repository }} | ||
tags: | | ||
type=raw,value=${{ github.ref }}-${{ github.sha }} |