(featu) fix smooth bars on series #120
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
paths: | |
- '**/*.go' | |
- '**/*.mod' | |
- '**/*.sum' | |
- '**/*.yml' | |
name: CI | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [dev-latest] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: kevincobain2000/action-gobrew@v2 | |
with: | |
version: ${{ matrix.go-version }} | |
- name: Install Tools | |
run: | | |
go install github.com/securego/gosec/v2/cmd/gosec@latest | |
go install github.com/axw/gocov/gocov@latest | |
go install github.com/AlekSi/gocov-xml@latest | |
- name: Setup Node.js ${{ matrix.node-versions }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- name: Build Dist for Embed | |
working-directory: frontend | |
run: | | |
npm install | |
npm run build | |
- name: Test | |
run: | | |
go test -race -v ./... -count=1 | |
- name: Lint | |
run: | | |
gosec ./... | |
go vet -all . | |