chore: release 0.11.0 #443
Workflow file for this run
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
on: [push, pull_request] | |
name: Integration Tests | |
jobs: | |
sharness: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ "ubuntu", "macos" ] | |
go: [ "1.21.x" ] | |
runs-on: ${{ matrix.os }}-latest | |
name: Sharness (${{ matrix.os }} / go-${{ matrix.go }}) | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Go information | |
run: | | |
go version | |
go env | |
- name: Run sharness tests | |
run: | | |
# we want to run tests against the current version of ipget | |
# however, that version might be in a fork so we need to replace the dependency | |
# backup the go.mod and go.sum files to restore them after we run the tests | |
cd dependencies | |
cp go.mod go.mod.bak | |
cp go.sum go.sum.bak | |
# make sure the tests run against the current version of ipget | |
go mod edit -replace github.com/ipfs/ipget=./../.. | |
go mod tidy | |
cd .. | |
make | |
cd dependencies | |
# restore the go.mod and go.sum files to their original state | |
mv go.mod.bak go.mod | |
mv go.sum.bak go.sum | |
env: | |
TEST_VERBOSE: 1 | |
working-directory: sharness |