Skip to content

chore(release): v0.16.1 #916

chore(release): v0.16.1

chore(release): v0.16.1 #916

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_call:
jobs:
golangci:
name: lint
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.12.2
args: --verbose
test-linux-race:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Unit test
# Run all tests except for tests in the tests directory.
run: make utest
itest:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
# Need npx to start the Dev Server
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Integration test
run: make itest