Skip to content

[chore] : Bump the go group across 1 directory with 2 updates #22

[chore] : Bump the go group across 1 directory with 2 updates

[chore] : Bump the go group across 1 directory with 2 updates #22

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@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
with:
go-version: '1.20'
- name: Run golangci-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@65462800fd760344b1a7b4382951275a0abb4808
with:
path: coverage.out
name: Coverage-report
- name: Display coverage report
run: go tool cover -func=coverage.out
- name: Build Go
run: go build ./...