Skip to content

Commit

Permalink
[#328] Add all components in the .goreleaser file (#329)
Browse files Browse the repository at this point in the history
* [#328] Add all components in the .goreleaser file

---------

Signed-off-by: Dimitar Dimitrov <[email protected]>
  • Loading branch information
dimitar-dimitrow authored May 15, 2024
1 parent e21e7c9 commit 3366a2c
Show file tree
Hide file tree
Showing 8 changed files with 262 additions and 125 deletions.
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

0 comments on commit 3366a2c

Please sign in to comment.