Skip to content

[chore] : Bump actions/checkout from 6.0.0 to 6.0.1 #33

[chore] : Bump actions/checkout from 6.0.0 to 6.0.1

[chore] : Bump actions/checkout from 6.0.0 to 6.0.1 #33

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@8e8c483db84b4bee98b60c0593521ed34d9990e8
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
with:
go-version: '1.24'
- name: Run golangci-lint
uses: golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47
- 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 ./...