Skip to content

Commit

Permalink
[internal] Update GitHub Actions workflow files (#2788)
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot authored Sep 7, 2023
1 parent 43fcc1e commit f55cadd
Show file tree
Hide file tree
Showing 7 changed files with 356 additions and 340 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -464,12 +464,16 @@ jobs:
run: make upstream
- uses: actions/setup-go@v4
with:
cache-dependency-path: provider/shim/go.sum
go-version-file: provider/shim/go.mod
cache-dependency-path: provider/go.sum
go-version-file: provider/go.mod
- name: go test
run: |
cd provider/shim
go test -v .
cd upstream/shim
go test -v -coverprofile="coverage.txt" .
- env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
timeout-minutes: 60

name: main
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -464,12 +464,16 @@ jobs:
run: make upstream
- uses: actions/setup-go@v4
with:
cache-dependency-path: provider/shim/go.sum
go-version-file: provider/shim/go.mod
cache-dependency-path: provider/go.sum
go-version-file: provider/go.mod
- name: go test
run: |
cd provider/shim
go test -v .
cd upstream/shim
go test -v -coverprofile="coverage.txt" .
- env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
timeout-minutes: 60

name: master
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,12 +415,16 @@ jobs:
run: make upstream
- uses: actions/setup-go@v4
with:
cache-dependency-path: provider/shim/go.sum
go-version-file: provider/shim/go.mod
cache-dependency-path: provider/go.sum
go-version-file: provider/go.mod
- name: go test
run: |
cd provider/shim
go test -v .
cd upstream/shim
go test -v -coverprofile="coverage.txt" .
- env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
timeout-minutes: 60

name: prerelease
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -434,12 +434,16 @@ jobs:
run: make upstream
- uses: actions/setup-go@v4
with:
cache-dependency-path: provider/shim/go.sum
go-version-file: provider/shim/go.mod
cache-dependency-path: provider/go.sum
go-version-file: provider/go.mod
- name: go test
run: |
cd provider/shim
go test -v .
cd upstream/shim
go test -v -coverprofile="coverage.txt" .
- env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
timeout-minutes: 60

name: release
Expand Down
Loading

0 comments on commit f55cadd

Please sign in to comment.