Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

chore(deps): update docker.io/library/golang docker tag to v1.21 #373

chore(deps): update docker.io/library/golang docker tag to v1.21

chore(deps): update docker.io/library/golang docker tag to v1.21 #373

Workflow file for this run

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 }}