Skip to content

Upgrade dependencies for Go 1.23. #127

Upgrade dependencies for Go 1.23.

Upgrade dependencies for Go 1.23. #127

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22
- name: Unit tests
run: go test -coverprofile=cover.out ./...
- name: Modver
if: ${{ github.event_name == 'pull_request' }}
run: go run ./cmd/modver -pr https://github.com/${{ github.repository }}/pull/${{ github.event.number }} -token ${{ github.token }} -pretty
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: cover.out