Skip to content

chore(deps): update actions/checkout action to v4 #23

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #23

Workflow file for this run

name: go_test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Cover
run: go test -coverprofile=coverage.out -covermode=count ./...
- name: codecov-umbrella
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.out
fail_ci_if_error: true