Skip to content

Fix integration-workflow file type #1

Fix integration-workflow file type

Fix integration-workflow file type #1

name: Subd Integration Workflow

Check failure on line 1 in .github/workflows/integration-workflow.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/integration-workflow.yaml

Invalid workflow file

`permissions` is not a valid event name
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