|
@@ -7,16 +7,15 @@ jobs:
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
strategy:
|
|
strategy:
|
|
|
matrix:
|
|
matrix:
|
|
|
- go: ['1.19', '1.20']
|
|
|
|
|
|
|
+ go: ['1.20', '1.21']
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@v3
|
|
|
|
|
|
|
+ - uses: actions/checkout@v4
|
|
|
with:
|
|
with:
|
|
|
# clone in the gopath
|
|
# clone in the gopath
|
|
|
path: src/github.com/${{ github.repository }}
|
|
path: src/github.com/${{ github.repository }}
|
|
|
fetch-depth: 0
|
|
fetch-depth: 0
|
|
|
- - uses: actions/setup-go@v2
|
|
|
|
|
|
|
+ - uses: actions/setup-go@v5
|
|
|
with:
|
|
with:
|
|
|
- stable: false
|
|
|
|
|
go-version: ${{ matrix.go }}
|
|
go-version: ${{ matrix.go }}
|
|
|
- run: |
|
|
- run: |
|
|
|
# `env` doesn't allow for variable expansion, so we use the GITHUB_ENV
|
|
# `env` doesn't allow for variable expansion, so we use the GITHUB_ENV
|
|
@@ -36,7 +35,7 @@ jobs:
|
|
|
fi
|
|
fi
|
|
|
done
|
|
done
|
|
|
- name: report coverage to codecov
|
|
- name: report coverage to codecov
|
|
|
- uses: codecov/codecov-action@v3
|
|
|
|
|
|
|
+ uses: codecov/codecov-action@v4
|
|
|
with:
|
|
with:
|
|
|
files: coverage.txt
|
|
files: coverage.txt
|
|
|
flags: unittests
|
|
flags: unittests
|
|
@@ -46,16 +45,15 @@ jobs:
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
strategy:
|
|
strategy:
|
|
|
matrix:
|
|
matrix:
|
|
|
- go: ['1.19', '1.20']
|
|
|
|
|
|
|
+ go: ['1.20', '1.21']
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@v3
|
|
|
|
|
|
|
+ - uses: actions/checkout@v4
|
|
|
with:
|
|
with:
|
|
|
# clone in the gopath
|
|
# clone in the gopath
|
|
|
path: src/github.com/${{ github.repository }}
|
|
path: src/github.com/${{ github.repository }}
|
|
|
fetch-depth: 0
|
|
fetch-depth: 0
|
|
|
- - uses: actions/setup-go@v2
|
|
|
|
|
|
|
+ - uses: actions/setup-go@v5
|
|
|
with:
|
|
with:
|
|
|
- stable: false
|
|
|
|
|
go-version: ${{ matrix.go }}
|
|
go-version: ${{ matrix.go }}
|
|
|
- run: |
|
|
- run: |
|
|
|
# `env` doesn't allow for variable expansion, so we use the GITHUB_ENV
|
|
# `env` doesn't allow for variable expansion, so we use the GITHUB_ENV
|
|
@@ -82,7 +80,7 @@ jobs:
|
|
|
fi
|
|
fi
|
|
|
done
|
|
done
|
|
|
- name: report coverage to codecov
|
|
- name: report coverage to codecov
|
|
|
- uses: codecov/codecov-action@v3
|
|
|
|
|
|
|
+ uses: codecov/codecov-action@v4
|
|
|
with:
|
|
with:
|
|
|
files: coverage.txt
|
|
files: coverage.txt
|
|
|
flags: integtests
|
|
flags: integtests
|