Skip to content

Commit

Permalink
Merge pull request #10 from brenordv/feature/workflow-template
Browse files Browse the repository at this point in the history
Feature/workflow template
  • Loading branch information
brenordv authored Feb 4, 2024
2 parents c827cc8 + ddc9c53 commit 2b3fa5a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/template-qa-sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ jobs:
run: dotnet tool install --global xmldocmd

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin' # AdoptOpenJDK is now Eclipse Temurin

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ inputs.branchName }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
version: ${{ steps.set_version.outputs.version }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Define next release version
id: set_version
run: echo "version=$(cat ${{ inputs.projectFolder }}/${{ inputs.projectFile }} | grep -oP '(?<=<AssemblyVersion>).*(?=<\/AssemblyVersion>)')" >> $GITHUB_OUTPUT
Expand All @@ -69,7 +69,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v3
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
ARTIFACT_NAME: ${{ needs.check_tag.outputs.artifact_name }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v3
Expand Down Expand Up @@ -241,7 +241,7 @@ jobs:
ls -la
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Git
run: |
Expand Down
14 changes: 14 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=brenordv_nightscout-companion-apps&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=brenordv_nightscout-companion-apps)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=brenordv_nightscout-companion-apps&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=brenordv_nightscout-companion-apps)
[![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=brenordv_nightscout-companion-apps&metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=brenordv_nightscout-companion-apps)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=brenordv_nightscout-companion-apps&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=brenordv_nightscout-companion-apps)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=brenordv_nightscout-companion-apps&metric=bugs)](https://sonarcloud.io/summary/new_code?id=brenordv_nightscout-companion-apps)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=brenordv_nightscout-companion-apps&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=brenordv_nightscout-companion-apps)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=brenordv_nightscout-companion-apps&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=brenordv_nightscout-companion-apps)
[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=brenordv_nightscout-companion-apps&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=brenordv_nightscout-companion-apps)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=brenordv_nightscout-companion-apps&metric=coverage)](https://sonarcloud.io/summary/new_code?id=brenordv_nightscout-companion-apps)
[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=brenordv_nightscout-companion-apps&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=brenordv_nightscout-companion-apps)
[![CGM Data Display App CI/CD Using Reusable Workflow](https://github.com/brenordv/nightscout-companion-apps/actions/workflows/master-publish-glucose-mon-app.yml/badge.svg)](https://github.com/brenordv/nightscout-companion-apps/actions/workflows/master-publish-glucose-mon-app.yml)
[![Data API Function App CI/CD Workflow Using Template](https://github.com/brenordv/nightscout-companion-apps/actions/workflows/master-publish-dataapi.yml/badge.svg)](https://github.com/brenordv/nightscout-companion-apps/actions/workflows/master-publish-dataapi.yml)
[![Data Transfer Function CI/CD Using Reusable Workflow](https://github.com/brenordv/nightscout-companion-apps/actions/workflows/master-publish-datatransfer.yml/badge.svg)](https://github.com/brenordv/nightscout-companion-apps/actions/workflows/master-publish-datatransfer.yml)

# Nightscout Companion Apps

## Table of Contents
Expand Down

0 comments on commit 2b3fa5a

Please sign in to comment.