Skip to content

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

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

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

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@44694675825211faa026b3c33043df3e48a5fa00
with:
go-version: '1.24'
- name: Run golanci-lint
uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5
- name: Run test and generate coverage report
run: go test -v -coverprofile=coverage.out ./...
- name: Upload coverage report
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
with:
path: coverage.out
name: Coverage-report
- name: Display coverage test
run: go tool cover -func=coverage.out
- name: Build Go
run: go build ./...