Skip to content

Commit 181eba4

Browse files
committed
Change to official filterlists.com
Looks like they broke the entire docker setup, so I hope CloudFlare no longer blocks GH Actions from the API
1 parent 3a4db91 commit 181eba4

3 files changed

Lines changed: 2 additions & 14 deletions

File tree

.github/workflows/auto-generate.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ jobs:
2424
with:
2525
go-version: ^1.21
2626

27-
- name: Start FilterLists server
28-
run: |
29-
git clone https://github.com/collinbarrett/FilterLists --depth 1 FilterLists
30-
cd FilterLists
31-
docker compose -f docker-compose/docker-compose.yml -f docker-compose/docker-compose.override.yml up -d
32-
3327
- name: "Run generator tests"
3428
shell: bash
3529
run: |

.github/workflows/test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ jobs:
1616
with:
1717
go-version: ^1.21
1818

19-
- name: Start FilterLists server
20-
run: |
21-
git clone https://github.com/collinbarrett/FilterLists --depth 1 FilterLists
22-
cd FilterLists
23-
docker compose -f docker-compose/docker-compose.yml -f docker-compose/docker-compose.override.yml up -d
24-
2519
- name: "Run generator tests"
2620
shell: bash
2721
run: |

generate/cosmetic/filterlists/fetch.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ func fetchJSON(url string, target interface{}) (err error) {
9292

9393
// FetchLanguages fetches the list of languages available on FilterLists.com
9494
func FetchLanguages() (languages []Language, err error) {
95-
err = fetchJSON("http://localhost:8080/api/directory/languages", &languages)
95+
err = fetchJSON("https://filterlists.com/api/directory/languages", &languages)
9696
return
9797
}
9898

9999
// FetchFilterLists fetches the list of filter lists available on FilterLists.com
100100
func FetchFilterLists() (filterLists FilterLists, err error) {
101-
err = fetchJSON("http://localhost:8080/api/directory/lists", &filterLists.Lists)
101+
err = fetchJSON("https://filterlists.com/api/directory/lists", &filterLists.Lists)
102102
return
103103
}

0 commit comments

Comments
 (0)