mirror of
https://github.com/kopia/kopia.git
synced 2026-10-27 00:28:47 -04:00
build(infra): checkout repo before setting up Go (#2903)
This way GH caching for Go packages has a chance to work. See https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs * build(providers): checkout repo before setting up Go * build(infra): checkout repo before setting up Go: apply to other workflows as well.
This commit is contained in:
1 parent
9fc39b95c0
commit
8706239a9f
10 files changed
+50
-50
No files matched your search
@@ -11,15 +11,15 @@ jobs:
|
||||
name: Code Coverage Tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Go.
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.20'
|
||||
id: go
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Run Tests
|
||||
run: make test-with-coverage
|
||||
- name: Upload Coverage
|
||||
|
||||
Reference in new issue
Block a user