Skip to content

Compatibility

Compatibility #60

Workflow file for this run

name: Compatibility
on:
schedule:
- cron: "14 7 * * *"
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- { go-version: stable }
- { go-version-file: go.mod }
deps:
- locked
- latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go.go-version }}
go-version-file: ${{ matrix.go.go-version-file }}
- name: Update to latest deps
if: matrix.deps == 'latest'
run: go get -u -t ./...
- name: Test
run: go test -shuffle on ./...