Compare commits

..
1 Commits
2 changed files with 10 additions and 13 deletions
+9 -9
View File
@@ -30,7 +30,7 @@ jobs:
with: with:
go-version: '1.25.x' go-version: '1.25.x'
check-latest: true check-latest: true
- uses: actions/cache@v5 - uses: actions/cache@v4
with: with:
path: | path: |
~/go/pkg/mod ~/go/pkg/mod
@@ -46,7 +46,7 @@ jobs:
with: with:
go-version: '1.25.x' go-version: '1.25.x'
check-latest: true check-latest: true
- uses: actions/cache@v5 - uses: actions/cache@v4
with: with:
path: | path: |
~/go/pkg/mod ~/go/pkg/mod
@@ -63,7 +63,7 @@ jobs:
with: with:
go-version: '1.25.x' go-version: '1.25.x'
check-latest: true check-latest: true
- uses: actions/cache@v5 - uses: actions/cache@v4
with: with:
path: | path: |
~/go/pkg/mod ~/go/pkg/mod
@@ -80,7 +80,7 @@ jobs:
with: with:
go-version: '1.25.x' go-version: '1.25.x'
check-latest: true check-latest: true
- uses: actions/cache@v5 - uses: actions/cache@v4
with: with:
path: | path: |
~/go/pkg/mod ~/go/pkg/mod
@@ -103,7 +103,7 @@ jobs:
with: with:
go-version: '1.25.x' go-version: '1.25.x'
check-latest: true check-latest: true
- uses: actions/cache@v5 - uses: actions/cache@v4
with: with:
path: | path: |
~/go/pkg/mod ~/go/pkg/mod
@@ -112,7 +112,7 @@ jobs:
- run: go test -race -coverprofile=coverage.out ./... - run: go test -race -coverprofile=coverage.out ./...
- name: Build all examples - name: Build all examples
run: go build ./examples/... run: go build ./examples/...
- uses: actions/upload-artifact@v7 - uses: actions/upload-artifact@v4
with: with:
name: coverage name: coverage
path: coverage.out path: coverage.out
@@ -125,7 +125,7 @@ jobs:
with: with:
go-version: '1.25.x' go-version: '1.25.x'
check-latest: true check-latest: true
- uses: actions/cache@v5 - uses: actions/cache@v4
with: with:
path: | path: |
~/go/pkg/mod ~/go/pkg/mod
@@ -146,7 +146,7 @@ jobs:
with: with:
go-version: '1.25.x' go-version: '1.25.x'
check-latest: true check-latest: true
- uses: actions/cache@v5 - uses: actions/cache@v4
with: with:
path: | path: |
~/go/pkg/mod ~/go/pkg/mod
@@ -258,7 +258,7 @@ jobs:
- name: Run GoReleaser - name: Run GoReleaser
if: github.event_name != 'workflow_dispatch' || inputs.dry-run-release == false if: github.event_name != 'workflow_dispatch' || inputs.dry-run-release == false
uses: goreleaser/goreleaser-action@v7 uses: goreleaser/goreleaser-action@v6
with: with:
distribution: goreleaser distribution: goreleaser
version: '~> v2' version: '~> v2'
+1 -4
View File
@@ -35,10 +35,7 @@ lint: vet
integration: integration:
$(GO) test -tags=integration -v ./test/integration/... $(GO) test -tags=integration -v ./test/integration/...
# Resolve via testdata/html/latest.html symlink so the pinned-fixture target SCRAPE_INPUT ?= testdata/html/snapshot_2026-05-08.html
# auto-tracks whatever snapshot regen.yml last committed. Override with
# SCRAPE_INPUT=path/to/snapshot.html for ad-hoc replays.
SCRAPE_INPUT ?= testdata/html/$(shell readlink testdata/html/latest.html)
SCRAPE_OUTPUT ?= internal/spec/api.json SCRAPE_OUTPUT ?= internal/spec/api.json
snapshot: snapshot: