Compare commits
No commits in common. "8fe87e12dff5eb7ccf61a7f187ff0da102485e5d" and "34c001473b4d1aee3012fb7cfb1287af1af1fb05" have entirely different histories.
8fe87e12df
...
34c001473b
@ -4,7 +4,6 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- ci/*
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
@ -17,10 +16,16 @@ jobs:
|
||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||
|
||||
- name: Setup Go environment
|
||||
uses: https://gitea.com/actions/setup-go@v3
|
||||
uses: https://github.com/actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
cache: true
|
||||
# The Go version to download (if necessary) and use. Supports semver spec and ranges.
|
||||
go-version: 1.22.0 # optional
|
||||
# Path to the go.mod file.
|
||||
go-version-file: ./go.mod # optional
|
||||
# Set this option to true if you want the action to always check for the latest available version that satisfies the version spec
|
||||
check-latest: true # optional
|
||||
# Used to specify whether caching is needed. Set to true, if you'd like to enable caching.
|
||||
cache: true # optional
|
||||
|
||||
- name: Execute Go Test files with coverage report
|
||||
run: TESTCONTAINERS_RYUK_DISABLED=true go test -v ./... -json -coverprofile="coverage.out" | tee "test-report.out"
|
||||
@ -29,3 +34,6 @@ jobs:
|
||||
env:
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}
|
||||
with:
|
||||
args: >
|
||||
-Dsonar.projectKey=Anthrove---OtterSpace-SDK
|
@ -1 +0,0 @@
|
||||
sonar.projectKey=Anthrove---OtterSpace-SDK
|
Loading…
Reference in New Issue
Block a user