From 5ba544df51fba0aeb65151384dbc537fba266d60 Mon Sep 17 00:00:00 2001 From: dnitsch Date: Tue, 7 Feb 2023 12:37:45 +0000 Subject: [PATCH] fix: update release with safe dir classic github poop MS needs to fix these classic windows errors ... --- .github/workflows/build.yml | 6 ++---- .github/workflows/release.yml | 12 +++++------- README.md | 2 ++ 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f7bb6f8..d8829de 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,12 +44,10 @@ jobs: run: | apt update && apt install -y jq git git config --global --add safe.directory "$GITHUB_WORKSPACE" - - name: make test - run: | - echo $PWD - ls -lat git config user.email ${{ github.actor }}-ci@gha.org git config user.name ${{ github.actor }} + - name: make test + run: | make REVISION=$GITHUB_SHA test - name: Publish Junit style Test Report uses: mikepenz/action-junit-report@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f2ebafc..4bef644 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,17 +42,15 @@ jobs: steps: - uses: actions/checkout@v3 with: - fetch-depth: 0 + fetch-depth: 1 - name: install deps run: | - apt update && apt install jq -y - make REVISION=$GITHUB_SHA install - - name: release library - run: | - echo $PWD - ls -lat + apt-get update && apt-get install jq git -y + git config --global --add safe.directory "$GITHUB_WORKSPACE" git config user.email ${{ github.actor }}-ci@gha.org git config user.name ${{ github.actor }} + - name: release library + run: | make GIT_TAG=${SEMVER} REVISION=$GITHUB_SHA tag - name: release binary run: | diff --git a/README.md b/README.md index d3f782a..2550dc6 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=dnitsch_configmanager&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=dnitsch_configmanager) +[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=dnitsch_configmanager&metric=coverage)](https://sonarcloud.io/summary/new_code?id=dnitsch_configmanager) + Package used for retrieving application settings from various sources. Currently supported variable and secrets implementations: