Skip to content

Commit

Permalink
chore(ci): remove comments (#5)
Browse files Browse the repository at this point in the history
* chore(ci): remove comments

* feat(ci): update coverage jobs
  • Loading branch information
trancong12102 authored Feb 7, 2024
1 parent c1bdd8e commit 13a9f2b
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go

on:
Expand All @@ -21,13 +18,14 @@ jobs:
with:
go-version: '1.21'

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...
- name: Run coverage
run: go test -race -coverprofile=coverage.out -covermode=atomic -v ./...

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
file: ./coverage.out
fail_ci_if_error: true
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 13a9f2b

Please sign in to comment.