Skip to content

New API for Go 1.23 #70

New API for Go 1.23

New API for Go 1.23 #70

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.23
- name: Unit tests
run: go test -v -coverprofile=cover.out ./...
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: cover.out
- name: Modver
if: ${{ github.event_name == 'pull_request' }}
uses: bobg/modver@v2.7.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
pull_request_url: https://github.com/${{ github.repository }}/pull/${{ github.event.number }}