Skip to content

Commit

Permalink
update build with go 1.19 + golang.org/x/net update (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
s0rg authored Aug 4, 2022
1 parent 1964c0c commit bd3f47b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -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=

0 comments on commit bd3f47b

Please sign in to comment.