Skip to content

🐛 fix ignore failed graceful shutdown (#332) #462

🐛 fix ignore failed graceful shutdown (#332)

🐛 fix ignore failed graceful shutdown (#332) #462

Workflow file for this run

name: Check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.22'
- name: Build
run: go build
- name: Test
run: go test -race --coverprofile=coverage.txt --covermode=atomic ./...
- name: Upload coverage to Codecov
if: success() && github.ref == 'refs/heads/main'
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false