Skip to content

[chore] : Bump golangci/golangci-lint-action from 9.0.0 to 9.2.0 #32

[chore] : Bump golangci/golangci-lint-action from 9.0.0 to 9.2.0

[chore] : Bump golangci/golangci-lint-action from 9.0.0 to 9.2.0 #32

Workflow file for this run

name: Build and Test Workflow
on:
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
with:
go-version: '1.24'
- name: Run golangci-lint
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20
- name: Run test and generate coverage report
run: go test -v ./... -coverprofile=coverage.out
- name: Upload Coverage Report
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
with:
name: coverage-report
path: coverage.out
- name: Display Coverage result
run: go tool cover -func=coverage.out
- name: Build Go
run: go build ./...