diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ad1f9b..fca27d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: - name: setup golang uses: actions/setup-go@v3 with: - go-version: ^1.18 + go-version: ^1.19 check-latest: true cache: true - name: test-coverage @@ -51,7 +51,7 @@ jobs: - name: setup golang uses: actions/setup-go@v3 with: - go-version: ^1.18 + go-version: ^1.19 check-latest: true cache: true - name: init codeql diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1270dce..b38c0df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - name: set up golang uses: actions/setup-go@v3 with: - go-version: ^1.18 + go-version: ^1.19 check-latest: true cache: true - name: build diff --git a/README.md b/README.md index 811203b..ba8d1a6 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Crawls web pages and prints any link it can find. # features - fast html SAX-parser (powered by `golang.org/x/net/html`) -- small (<3000 SLOC), idiomatic, 100% test covered codebase +- small (<1500 SLOC), idiomatic, 100% test covered codebase - grabs most of useful resources urls (pics, videos, audios, forms, etc...) - found urls are streamed to stdout and guranteed to be unique (with fragments omitted) - scan depth (limited by starting host and path, by default - 0) can be configured diff --git a/go.mod b/go.mod index f1d97ca..57dbbb8 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/s0rg/crawley -go 1.18 +go 1.19 -require golang.org/x/net v0.0.0-20220607020251-c690dde0001d +require golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b diff --git a/go.sum b/go.sum index 88dbbc3..0462120 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,4 @@ golang.org/x/net v0.0.0-20220607020251-c690dde0001d h1:4SFsTMi4UahlKoloni7L4eYzhFRifURQLw+yv0QDCx8= golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b h1:3ogNYyK4oIQdIKzTu68hQrr4iuVxF3AxKl9Aj/eDrw0= +golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=