Skip to content

refactor: change the package name to stdlib, as well as add env packa… #20

refactor: change the package name to stdlib, as well as add env packa…

refactor: change the package name to stdlib, as well as add env packa… #20

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
test:
strategy:
matrix:
go-version: [ ">=1.18.0" ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Lint
run: make lint
- name: Test
run: |
eval $(ssh-agent)
make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
- name: Add coverage.out to artifacts
uses: actions/upload-artifact@v1
with:
name: coverage-out
path: ./coverage.out
- name: Add coverage.html to artifacts
uses: actions/upload-artifact@v1
with:
name: coverage-html
path: ./coverage.html