diff --git a/.github/workflows/SonarCloud.yml b/.github/workflows/SonarCloud.yml index 1f257e6..59753c5 100644 --- a/.github/workflows/SonarCloud.yml +++ b/.github/workflows/SonarCloud.yml @@ -28,13 +28,13 @@ jobs: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v1.1.1 + uses: gittools/actions/gitversion/setup@v3.0.0 with: versionSpec: "5.x" - name: Version with GitVersion # https://github.com/marketplace/actions/use-actions id: gitversion - uses: gittools/actions/gitversion/execute@v1.1.1 + uses: gittools/actions/gitversion/execute@v3.0.0 - name: Run tests run: go test -v -coverprofile=coverage.out -covermode=count -json ./... > test-report.out diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 41744f1..a12ac64 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,12 +20,12 @@ jobs: with: fetch-depth: 0 - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v1.1.1 + uses: gittools/actions/gitversion/setup@v3.0.0 with: versionSpec: "5.x" - name: Version with GitVersion # https://github.com/marketplace/actions/use-actions id: gitversion - uses: gittools/actions/gitversion/execute@v1.1.1 + uses: gittools/actions/gitversion/execute@v3.0.0 - name: Bump version and push tag id: tag_version