Skip to content

Can call import with just token #179

Can call import with just token

Can call import with just token #179

Workflow file for this run

name: Go
on:
pull_request: {}
push:
branches:
- main
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
Go-Unit-Test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.20.x', '1.19.x', '1.18.x']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- run: go version
- run: go test ./... -v -coverprofile=coverage.out -covermode=atomic
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}