Skip to content

Bump to Go 1.22 and update some dependencies (#22) #118

Bump to Go 1.22 and update some dependencies (#22)

Bump to Go 1.22 and update some dependencies (#22) #118

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