Fix integration-workflow file type #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: Subd Integration Workflow | ||
on: | ||
workflow_call: | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
checks: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version-file: 'go.mod' | ||
cache: true | ||
- name: Revive Action | ||
uses: morphy2k/[email protected] | ||
- name: Staticcheck | ||
uses: dominikh/[email protected] | ||
- name: Build | ||
run: | | ||
go mod download | ||
go install gotest.tools/gotestsum@latest | ||
- name: Test | ||
run: | | ||
gotestsum --format=standard-verbose --junitfile=junit.xml | ||
- name: Publish Test Report | ||
uses: mikepenz/action-junit-report@v3 | ||
if: success() || failure() # always run even if the previous step fails | ||
with: | ||
report_paths: '**/junit.xml' | ||
detailed_summary: true | ||
include_passed: true |