This repository has been archived by the owner on Aug 11, 2023. It is now read-only.
fix(deps): update golang.org/x/exp digest to 853ea24 #374
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: ci | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: stable | |
- name: Set GOROOT | |
run: echo "GOROOT=$(go env GOROOT)" > "$GITHUB_ENV" | |
- name: Lint | |
uses: golangci/[email protected] | |
with: | |
version: latest | |
args: --timeout 30m | |
- name: Build | |
run: go build -v cmd/main.go | |
- name: Test | |
run: go test -v -race -coverprofile=coverage.out -covermode=atomic ./... | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |