Skip to content

CI

CI #113

Workflow file for this run

name: CI
on:
- push
jobs:
pipeline:
name: pipiline
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.16
- run: go version
- uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.55.2
- name: Build
run: make build
- name: Test
run: make test
- uses: codecov/codecov-action@v4