Skip to content

[chore] : Bump the actions group with 4 updates #73

[chore] : Bump the actions group with 4 updates

[chore] : Bump the actions group with 4 updates #73

Workflow file for this run

name: ci
on:
pull_request:
branches: ["main"]
push:
branches: ["main"]
tags: ["*"]
permissions:
contents: read
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: '1.23'
- name: Run golangci-lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
version: latest
skip-cache: true
- name: Run Go tests and generate coverage report
run: go test -v -race ./... -coverprofile=coverage.out
- name: Upload the coverage report
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
path: coverage.out
name: Coverage-report
- name: Display Coverage Report
run: go tool cover -func=coverage.out
- name: Build Go
run: go build ./...