Bump golang.org/x/net from 0.0.0-20210428140749-89ef3d95e781 to 0.17.0 #77
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
# This overrides the default shallow clone - we need the full history because | |
# the tests access prior commits. | |
# https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches | |
fetch-depth: 0 | |
# We need the git2go submodule | |
submodules: recursive | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18.x | |
- name: install libgit2 | |
run: sudo ./scripts/install-libgit2.sh && ldconfig /usr/local/lib/ | |
- name: get dependencies | |
run: go get -v -t -d ./... | |
- name: test race | |
run: go test -v -race ./... | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
version: v1.44.0 |