Skip to content

chore: bump go version to 1.22.7 and bump dependencies #54

chore: bump go version to 1.22.7 and bump dependencies

chore: bump go version to 1.22.7 and bump dependencies #54

name: Test and coverage report
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -coverprofile=./coverage.out ./...
# - name: Codacy Coverage Reporter
# uses: codacy/codacy-coverage-reporter-action@v1
# with:
# project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
# coverage-reports: ./coverage.out
# language: go
# force-coverage-parser: go