Skip to content

Merge pull request #140 from oklahomer/feature/golang-version-1.23 #11

Merge pull request #140 from oklahomer/feature/golang-version-1.23

Merge pull request #140 from oklahomer/feature/golang-version-1.23 #11

Workflow file for this run

name: CI
on: push
jobs:
test:
strategy:
matrix:
go-version:
- 1.21
- 1.22
- 1.23
- tip
include:
- may-fail: false # Default
- go-version: tip # tip version may fail
may-fail: true
continue-on-error: ${{ matrix.may-fail }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- name: Test with ${{ matrix.go-version }}
run: go test -v -race --shuffle=on -coverprofile=coverage ./...
- name: Coveralls integration
uses: shogo82148/actions-goveralls@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-profile: coverage
parallel: true
flag-name: ${{ matrix.go-version }}
# Call parallel build Webhook
finish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true