Skip to content

Commit

Permalink
Merge branch 'lock-precommit'
Browse files Browse the repository at this point in the history
  • Loading branch information
wjdp committed May 28, 2022
2 parents 30c65fa + d7fccee commit 1af9b3e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ env:
GO_VERSION: 1.17.8

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.3

git-describe:
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# See https://pre-commit.com/

repos:
- repo: git://github.com/dnephin/pre-commit-golang
rev: master
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.4.0
hooks:
- id: go-fmt
- id: go-imports
Expand Down
2 changes: 2 additions & 0 deletions htmltest/check-link_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ func TestAnchorExternalBrokenOptionHTTPSInvalid(t *testing.T) {
}

func TestAnchorExternalHTTPSMissingChain(t *testing.T) {
// TODO: remove skip when incomplete-chain.badssl.com has an in-date cert
t.Skip("The cert on incomplete-chain.badssl.com has expired, cannot use for testing at present")
// should support https aia
// see issue #130
tSkipShortExternal(t)
Expand Down

0 comments on commit 1af9b3e

Please sign in to comment.