Skip to content

chore(deps): update dependency go to v1.23.2 - autoclosed #168

chore(deps): update dependency go to v1.23.2 - autoclosed

chore(deps): update dependency go to v1.23.2 - autoclosed #168

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Lint code
runs-on: ubuntu-latest
env:
GOLANGCI_LINT_VERSION: v1.60.1 # github-releases:golangci/golangci-lint
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
- name: Lint code
uses: golangci/golangci-lint-action@v6
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
skip-pkg-cache: true
skip-build-cache: true
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
- name: Unit tests
run: |
go test -v -race -gcflags=-l ./...
go test -gcflags=-l -covermode=count -coverprofile=profile.cov ./...
- name: Goveralls
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov