Remove required
branch from branch protection rules and use default
#63
Workflow file for this run
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Set up Go | |
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5 | |
with: | |
check-latest: true | |
- name: setup task | |
uses: arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611 # v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
# Install gotestfmt on the VM running the action. | |
- name: Set up gotestfmt | |
uses: GoTestTools/gotestfmt-action@8b4478c7019be847373babde9300210e7de34bfb # v2.2.0 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run go mod download | |
run: go mod download | |
- name: build | |
run: |- | |
task test |