Home

Awesome

go-test-full-workflow

GitHub Actions Reusable Workflow to test Go application

How to use

---
name: test
on:
  pull_request: {}
permissions: {}
jobs:
  test:
    uses: suzuki-shunsuke/go-test-full-workflow/.github/workflows/test.yaml@0b7604aaf8c1b30f7b9cd2d79687daf39856b3f8 # v0.1.3
    with:
      aqua_policy_config: aqua-policy.yaml
      aqua_version: v1.36.0
      go-version: 1.20.2
    secrets:
      gh_app_id: ${{secrets.APP_ID}}
      gh_app_private_key: ${{secrets.APP_PRIVATE_KEY}}
    permissions:
      pull-requests: write
      contents: read # To checkout private repository

Requirements

aqua g -i int128/ghcp golangci/golangci-lint reviewdog/reviewdog suzuki-shunsuke/ghalint

GitHub App

LICENSE

MIT