name: Check on: push: branches: [ master ] workflow_dispatch: jobs: check: runs-on: ubuntu-latest steps: - name: Set up Go 1.17 uses: actions/setup-go@v2 with: go-version: 1.17 id: go - name: Check out code uses: actions/checkout@v2 - name: Run check run: go run ./cmd/main.go --config=./.github/assets.config.yaml --script=checker