Skip to content

feat: add common parasble types #216

feat: add common parasble types

feat: add common parasble types #216

Workflow file for this run

name: build
on:
push:
tags: [v\d+.\d+.\d+]
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.18.x, 1.19.x, 1.20.x, 1.21.x, 1.22.x]
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Go mod cache
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Tools bin cache
uses: actions/cache@v2
with:
path: .bin
key: ${{ runner.os }}-go${{ matrix.go-version }}-${{ hashFiles('Makefile') }}
- name: Test
run: make ci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: true
verbose: true