Skip to content

build(deps): bump the dependencies group with 2 updates #78

build(deps): bump the dependencies group with 2 updates

build(deps): bump the dependencies group with 2 updates #78

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths-ignore:
- "!**/*.go"
- "!go.*"
- "!*.go"
- "docs/**"
pull_request:
paths-ignore:
- "!**/*.go"
- "!go.*"
- "!*.go"
- "docs/**"
jobs:
test:
strategy:
matrix:
go-version: ["1.23"]
os: ["windows-latest", "ubuntu-latest", "macOS-latest"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: go.sum
cache: true
- name: Install dependencies
run: make ci
- name: Build
run: make build
- name: Benchmark test
run: make bench
- name: Unit test
run: make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.out
flags: unittests
# - name: Coveralls
# uses: coverallsapp/github-action@v2
# with:
# github-token: ${{ github.token }}
# file: coverage.out
# format: golang
# - name: Upload coverage
# uses: actions/upload-artifact@v4
# with:
# name: coverage
# path: coverage.out
# - name: Upload coverage to Codacy
# # run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.out --force-language go -t ${{ secrets.CODACY_PROJECT_TOKEN }}
# uses: codacy/codacy-coverage-reporter-action@v1
# with:
# project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
# coverage-reports: coverage.out
# - name: Run Codacy Analysis CLI
# uses: codacy/codacy-analysis-cli-action@master
# static-check:
# strategy:
# fail-fast: false
# matrix:
# os: ["ubuntu-latest"]
# go: ["1.23"]
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v4
# - uses: dominikh/staticcheck-action@v1.3.1
# with:
# version: latest
# install-go: false
# cache-key: ${{ matrix.go }}
golangci:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.0
problem-matchers: true
args: --issues-exit-code=0 > linter-results.sarif