This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
generated from ipfs/ipfs-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from ipfs/web3-bot/sync
sync: update CI config files
- Loading branch information
Showing
14 changed files
with
99 additions
and
346 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,12 @@ jobs: | |
env: | ||
RUNGOGENERATE: false | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-go@v2 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.18.x" | ||
go-version: "1.19.x" | ||
- name: Run repo-specific setup | ||
uses: ./.github/actions/go-check-setup | ||
if: hashFiles('./.github/actions/go-check-setup') != '' | ||
|
@@ -27,7 +27,7 @@ jobs: | |
echo "RUNGOGENERATE=true" >> $GITHUB_ENV | ||
fi | ||
- name: Install staticcheck | ||
run: go install honnef.co/go/tools/cmd/staticcheck@d7e217c1ff411395475b2971c0824e1e7cc1af98 # 2022.1 (v0.3.0) | ||
run: go install honnef.co/go/tools/cmd/staticcheck@376210a89477dedbe6fdc4484b233998650d7b3c # 2022.1.3 (v0.3.3) | ||
- name: Check that go.mod is tidy | ||
uses: protocol/[email protected] | ||
with: | ||
|
@@ -69,5 +69,6 @@ jobs: | |
if ! $(git add . && git diff-index HEAD --exit-code --quiet); then | ||
echo "go generated caused changes to the repository:" | ||
git status --short | ||
git status -vv | ||
exit 1 | ||
fi |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,16 +10,16 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
os: [ "ubuntu", "windows", "macos" ] | ||
go: [ "1.17.x", "1.18.x" ] | ||
go: [ "1.18.x", "1.19.x" ] | ||
env: | ||
COVERAGES: "" | ||
runs-on: ${{ format('{0}-latest', matrix.os) }} | ||
name: ${{ matrix.os }} (go ${{ matrix.go }}) | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-go@v2 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
- name: Go information | ||
|
@@ -43,7 +43,7 @@ jobs: | |
# Use -coverpkg=./..., so that we include cross-package coverage. | ||
# If package ./A imports ./B, and ./A's tests also cover ./B, | ||
# this means ./B's coverage will be significantly higher than 0%. | ||
run: go test -v -coverprofile=module-coverage.txt -coverpkg=./... ./... | ||
run: go test -v -shuffle=on -coverprofile=module-coverage.txt -coverpkg=./... ./... | ||
- name: Run tests (32 bit) | ||
if: ${{ matrix.os != 'macos' }} # can't run 32 bit tests on OSX. | ||
uses: protocol/[email protected] | ||
|
@@ -52,7 +52,7 @@ jobs: | |
with: | ||
run: | | ||
export "PATH=${{ env.PATH_386 }}:$PATH" | ||
go test -v ./... | ||
go test -v -shuffle=on ./... | ||
- name: Run tests with race detector | ||
if: ${{ matrix.os == 'ubuntu' }} # speed things up. Windows and OSX VMs are slow | ||
uses: protocol/[email protected] | ||
|
@@ -62,7 +62,7 @@ jobs: | |
shell: bash | ||
run: echo "COVERAGES=$(find . -type f -name 'module-coverage.txt' | tr -s '\n' ',' | sed 's/,$//')" >> $GITHUB_ENV | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0 | ||
uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0 | ||
with: | ||
files: '${{ env.COVERAGES }}' | ||
env_vars: OS=${{ matrix.os }}, GO=${{ matrix.go }} |
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,43 @@ | ||
module github.com/ipfs/go-delegated-routing | ||
|
||
go 1.17 | ||
go 1.18 | ||
|
||
require ( | ||
github.com/ipfs/go-cid v0.2.0 | ||
github.com/ipfs/go-ipns v0.1.2 | ||
github.com/ipfs/go-cid v0.3.2 | ||
github.com/ipfs/go-ipns v0.3.0 | ||
github.com/ipfs/go-log/v2 v2.5.1 | ||
github.com/ipld/edelweiss v0.2.0 | ||
github.com/ipld/go-ipld-prime v0.18.0 | ||
github.com/libp2p/go-libp2p-core v0.16.1 | ||
github.com/libp2p/go-libp2p-record v0.1.3 | ||
github.com/multiformats/go-multiaddr v0.5.0 | ||
github.com/multiformats/go-multicodec v0.5.0 | ||
github.com/multiformats/go-multihash v0.2.0 | ||
github.com/libp2p/go-libp2p v0.23.2 | ||
github.com/libp2p/go-libp2p-record v0.2.0 | ||
github.com/multiformats/go-multiaddr v0.7.0 | ||
github.com/multiformats/go-multicodec v0.6.0 | ||
github.com/multiformats/go-multihash v0.2.1 | ||
github.com/polydawn/refmt v0.0.0-20201211092308-30ac6d18308e | ||
) | ||
|
||
require ( | ||
github.com/btcsuite/btcd v0.22.1 // indirect | ||
github.com/btcsuite/btcd/btcec/v2 v2.1.3 // indirect | ||
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect | ||
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect | ||
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/ipfs/go-ipfs-util v0.0.1 // indirect | ||
github.com/ipfs/go-log v1.0.5 // indirect | ||
github.com/klauspost/cpuid/v2 v2.0.9 // indirect | ||
github.com/libp2p/go-buffer-pool v0.0.2 // indirect | ||
github.com/libp2p/go-openssl v0.0.7 // indirect | ||
github.com/mattn/go-isatty v0.0.14 // indirect | ||
github.com/ipfs/go-ipfs-util v0.0.2 // indirect | ||
github.com/klauspost/cpuid/v2 v2.1.1 // indirect | ||
github.com/libp2p/go-buffer-pool v0.1.0 // indirect | ||
github.com/libp2p/go-openssl v0.1.0 // indirect | ||
github.com/mattn/go-isatty v0.0.16 // indirect | ||
github.com/mattn/go-pointer v0.0.1 // indirect | ||
github.com/minio/sha256-simd v1.0.0 // indirect | ||
github.com/mr-tron/base58 v1.2.0 // indirect | ||
github.com/multiformats/go-base32 v0.0.3 // indirect | ||
github.com/multiformats/go-base32 v0.1.0 // indirect | ||
github.com/multiformats/go-base36 v0.1.0 // indirect | ||
github.com/multiformats/go-multibase v0.0.3 // indirect | ||
github.com/multiformats/go-multibase v0.1.1 // indirect | ||
github.com/multiformats/go-varint v0.0.6 // indirect | ||
github.com/opentracing/opentracing-go v1.2.0 // indirect | ||
github.com/pkg/errors v0.8.1 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 // indirect | ||
github.com/spaolacci/murmur3 v1.1.0 // indirect | ||
go.uber.org/atomic v1.7.0 // indirect | ||
go.uber.org/multierr v1.6.0 // indirect | ||
go.uber.org/zap v1.19.1 // indirect | ||
go.uber.org/atomic v1.10.0 // indirect | ||
go.uber.org/multierr v1.8.0 // indirect | ||
go.uber.org/zap v1.23.0 // indirect | ||
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect | ||
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect | ||
lukechampine.com/blake3 v1.1.6 // indirect | ||
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab // indirect | ||
lukechampine.com/blake3 v1.1.7 // indirect | ||
) |
Oops, something went wrong.