feat: initial #5
Workflow file for this run
This file contains hidden or 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
| # This workflow will run make reviewable and make check-diff as checks | |
| name: Reviewable&Check-Diff | |
| on: | |
| workflow_call: {} | |
| pull_request: | |
| branches: | |
| - main | |
| env: | |
| GO_IMPORT_VERSION: 'v0.16.1' | |
| jobs: | |
| reviewable-checkdiff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| submodules: true | |
| - name: Set up Go | |
| uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
| with: | |
| go-version: '1.24' | |
| - name: Install goimports | |
| run: | | |
| cd /tmp | |
| go install golang.org/x/tools/cmd/goimports@${{ env.GO_IMPORT_VERSION }} | |
| - name: Make Reviewable | |
| run: make reviewable | |
| env: | |
| RUNNING_IN_CI: 'true' | |
| - name: Make Check-Diff | |
| run: make check-diff |