Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add all components in the .goreleaser file #329

Merged
merged 2 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 26 additions & 13 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ jobs:
path: ${{ env.BUILD_TMP }}/local-digital-twins
ref: ${{ github.ref }}
token: ${{ secrets.WF_AUTH }}
- name: Checkout suite-bootstrapping
uses: actions/checkout@v2
with:
repository: eclipse-kanto/suite-bootstrapping
path: ${{ env.BUILD_TMP }}/suite-bootstrapping
ref: ${{ github.ref }}
token: ${{ secrets.WF_AUTH }}
- name: Checkout file-backup
uses: actions/checkout@v2
with:
Expand All @@ -83,6 +76,20 @@ jobs:
path: ${{ env.BUILD_TMP }}/update-manager
ref: ${{ github.ref }}
token: ${{ secrets.WF_AUTH }}
- name: Checkout azure-connector
uses: actions/checkout@v2
with:
repository: eclipse-kanto/azure-connector
path: ${{ env.BUILD_TMP }}/azure-connector
ref: ${{ github.ref }}
token: ${{ secrets.WF_AUTH }}
- name: Checkout aws-connector
uses: actions/checkout@v2
with:
repository: eclipse-kanto/aws-connector
path: ${{ env.BUILD_TMP }}/aws-connector
ref: ${{ github.ref }}
token: ${{ secrets.WF_AUTH }}
- name: Setup Go
uses: actions/setup-go@v2
with:
Expand Down Expand Up @@ -119,12 +126,6 @@ jobs:
go test ./... -v -coverprofile coverage.out -tags=unit
go tool cover -func=coverage.out -o coverage.txt
go tool cover -html=coverage.out -o coverage.html
- name: Generate suite-bootstrapping Coverage
working-directory: ${{ env.BUILD_TMP }}/suite-bootstrapping
run: |
go test ./... -v -coverprofile coverage.out -tags=unit
go tool cover -func=coverage.out -o coverage.txt
go tool cover -html=coverage.out -o coverage.html
- name: Generate file-backup Coverage
run: |
go test ./... -v -coverprofile coverage.out -tags=unit
Expand All @@ -143,6 +144,18 @@ jobs:
go test -v -race ./... -coverprofile coverage.out -covermode atomic
go tool cover -func=coverage.out -o coverage.txt
go tool cover -html=coverage.out -o coverage.html
- name: Generate azure-connector Coverage
working-directory: ${{ env.BUILD_TMP }}/azure-connector
run: |
go test ./... -v -coverprofile coverage.out -tags=unit
go tool cover -func=coverage.out -o coverage.txt
go tool cover -html=coverage.out -o coverage.html
- name: Generate aws-connector Coverage
working-directory: ${{ env.BUILD_TMP }}/aws-connector
run: |
go test ./... -v -coverprofile coverage.out -tags=unit
go tool cover -func=coverage.out -o coverage.txt
go tool cover -html=coverage.out -o coverage.html
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down
Loading