-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix Result Time Property * update CI workflow Signed-off-by: Frank Jogeleit <[email protected]>
- Loading branch information
Showing
5 changed files
with
160 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,27 +20,26 @@ jobs: | |
coverage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go 1.20 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.20.4 | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: go.mod | ||
cache-dependency-path: go.sum | ||
|
||
- name: Get dependencies | ||
run: go get -v -t -d ./... | ||
|
||
- name: Calc coverage | ||
run: make coverage | ||
- name: Download gcov2lcov | ||
shell: bash | ||
run: 'set -x && curl -sLf "https://github.com/jandelgado/gcov2lcov/releases/latest/download/gcov2lcov-linux-amd64.tar.gz" | tar zxf - --strip 1' | ||
working-directory: /tmp | ||
|
||
- name: Convert coverage to lcov | ||
shell: bash | ||
run: '/tmp/gcov2lcov-linux-amd64 -infile "coverage.out" -outfile "coverage.lcov"' | ||
env: | ||
GOROOT: /opt/hostedtoolcache/go/1.20.4/x64 | ||
uses: jandelgado/[email protected] | ||
|
||
- name: Coveralls | ||
uses: coverallsapp/github-action@v1.1.2 | ||
uses: coverallsapp/github-action@v2.0.0 | ||
with: | ||
github-token: ${{ secrets.github_token }} | ||
path-to-lcov: coverage.lcov | ||
file: coverage.lcov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:1.21.6 as builder | ||
FROM golang:1.22 as builder | ||
|
||
ARG LD_FLAGS="-s -w" | ||
ARG TARGETPLATFORM | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.