Skip to content

Commit b2568ce

Browse files
authored
feat: add VOD service filtering with configurable fallback detection (#148)
Signed-off-by: Kotaro Inoue <[email protected]>
1 parent 009a231 commit b2568ce

File tree

15 files changed

+981
-129
lines changed

15 files changed

+981
-129
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: Set up Go
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: '1.22'
21+
go-version: '1.24'
2222
check-latest: true
2323
-
2424
name: Create github token for goreleaser

.github/workflows/reviewdog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
- name: Set up Go
1111
uses: actions/setup-go@v5
1212
with:
13-
go-version: '1.22'
13+
go-version: '1.24'
1414
check-latest: true
1515
- name: golangci-lint
1616
uses: reviewdog/action-golangci-lint@v2
1717
with:
1818
reporter: github-pr-review
1919
filter_mode: diff_context
2020
fail_on_error: true
21-
golangci_lint_version: "v1.59.1"
21+
golangci_lint_version: "latest"

.golangci.yml

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,50 @@
1+
version: "2"
2+
run:
3+
allow-parallel-runners: true
14
linters:
2-
disable-all: true
5+
default: none
36
enable:
4-
- gofmt
7+
- dupl
8+
- errcheck
9+
- ginkgolinter
10+
- goconst
11+
- gocyclo
512
- govet
13+
- ineffassign
14+
- lll
15+
- misspell
16+
- nakedret
17+
- prealloc
18+
- revive
19+
- staticcheck
20+
- unconvert
21+
- unparam
22+
- unused
23+
settings:
24+
revive:
25+
rules:
26+
- name: comment-spacings
27+
exclusions:
28+
generated: lax
29+
rules:
30+
- linters:
31+
- lll
32+
path: api/*
33+
- linters:
34+
- dupl
35+
- lll
36+
path: internal/*
37+
paths:
38+
- third_party$
39+
- builtin$
40+
- examples$
41+
formatters:
42+
enable:
43+
- gofmt
44+
- goimports
45+
exclusions:
46+
generated: lax
47+
paths:
48+
- third_party$
49+
- builtin$
50+
- examples$

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.22 AS builder
1+
FROM --platform=$BUILDPLATFORM golang:1.24 AS builder
22

33
WORKDIR /workspace
44
COPY . /workspace

annict/generated.go

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)