MichaelHorwitz at pull_request event #207
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: Go Test | |
run-name: ${{ github.actor }} at ${{ github.event_name }} event | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- release | |
- dev | |
- main | |
types: | |
- opened | |
- reopened | |
- edited | |
- synchronize | |
jobs: | |
go-test: | |
runs-on: ubuntu-latest | |
container: | |
image: golang:1.22.3 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run go test | |
run: | | |
cd api | |
go test ./... | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |