mirror of
https://github.com/lukaszraczylo/go-telegram.git
synced 2026-11-18 05:45:23 +00:00
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d39be13822 | ||
|
|
d6ecbdea48 | ||
|
|
99c906c3c5 | ||
|
|
f5250197b7 |
@@ -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@v4
|
- uses: actions/cache@v5
|
||||||
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@v4
|
- uses: actions/cache@v5
|
||||||
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@v4
|
- uses: actions/cache@v5
|
||||||
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@v4
|
- uses: actions/cache@v5
|
||||||
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@v4
|
- uses: actions/cache@v5
|
||||||
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@v4
|
- uses: actions/upload-artifact@v7
|
||||||
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@v4
|
- uses: actions/cache@v5
|
||||||
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@v4
|
- uses: actions/cache@v5
|
||||||
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@v6
|
uses: goreleaser/goreleaser-action@v7
|
||||||
with:
|
with:
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: '~> v2'
|
version: '~> v2'
|
||||||
|
|||||||
@@ -35,7 +35,10 @@ lint: vet
|
|||||||
integration:
|
integration:
|
||||||
$(GO) test -tags=integration -v ./test/integration/...
|
$(GO) test -tags=integration -v ./test/integration/...
|
||||||
|
|
||||||
SCRAPE_INPUT ?= testdata/html/snapshot_2026-05-08.html
|
# Resolve via testdata/html/latest.html symlink so the pinned-fixture target
|
||||||
|
# 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:
|
||||||
|
|||||||
Reference in New Issue
Block a user