Skip to content

[chore] : Bump actions/setup-go from 5.2.0 to 5.5.0 #46

[chore] : Bump actions/setup-go from 5.2.0 to 5.5.0

[chore] : Bump actions/setup-go from 5.2.0 to 5.5.0 #46

Workflow file for this run

name: Build and Test
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@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: '1.23'
- name: Run Tests and Generate Coverage report
run: go test -v -coverprofile=coverage.out ./...
- name: Upload Coverage report
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
path: coverage.out
name: Coverage-report
- name: Display Coverage report
run: go tool cover -func=coverage.out
- name: Run Linter
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
args: --enable-only staticcheck # this is temporary until the other lint errors are fixed