diff --git a/.github/workflows/backend-publish-azure.yml b/.github/workflows/backend-publish-azure.yml index 821a363b..92e407fa 100644 --- a/.github/workflows/backend-publish-azure.yml +++ b/.github/workflows/backend-publish-azure.yml @@ -42,14 +42,14 @@ env: jobs: build: - name: Build and Deploy .NET5 Web API + name: Build and Deploy .NET6 Web API runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Set up dotnet Core ${{ env.NETCORE_VERSION }} - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.NETCORE_VERSION }} - name: Restore dependencies (${{env.SOLUTION_FILE}}) diff --git a/.github/workflows/backend-publish-stage-azure.yml b/.github/workflows/backend-publish-stage-azure.yml index 1adca9bc..12356fd1 100644 --- a/.github/workflows/backend-publish-stage-azure.yml +++ b/.github/workflows/backend-publish-stage-azure.yml @@ -25,6 +25,7 @@ on: branches: - develop - CO5/Develop + - PLY/Develop env: # set this to your application's name @@ -47,11 +48,11 @@ jobs: name: Build and Deploy .NET6 Web API runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Set up dotnet Core ${{ env.NETCORE_VERSION }} - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.NETCORE_VERSION }} - name: Restore dependencies (${{env.SOLUTION_FILE}}) diff --git a/.github/workflows/frontend-publish-azure.yml b/.github/workflows/frontend-publish-azure.yml index f0bd3d81..ac368522 100644 --- a/.github/workflows/frontend-publish-azure.yml +++ b/.github/workflows/frontend-publish-azure.yml @@ -38,9 +38,9 @@ jobs: name: 'Job: Build and Deploy React frontend' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} - name: 'Build React Code - npm install, build' diff --git a/.github/workflows/frontend-publish-stage-azure.yml b/.github/workflows/frontend-publish-stage-azure.yml index 8e31b531..861870be 100644 --- a/.github/workflows/frontend-publish-stage-azure.yml +++ b/.github/workflows/frontend-publish-stage-azure.yml @@ -25,6 +25,7 @@ on: branches: - develop - CO5/Develop + - PLY/Develop env: # set this to your application's name @@ -40,9 +41,9 @@ jobs: name: 'Job: Build and Deploy React frontend' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} - name: 'Build React Code - npm install, build' diff --git a/.github/workflows/sonar-cloud-scan-stage.yml b/.github/workflows/sonar-cloud-scan-stage.yml index e74c3e4d..a63577bf 100644 --- a/.github/workflows/sonar-cloud-scan-stage.yml +++ b/.github/workflows/sonar-cloud-scan-stage.yml @@ -11,6 +11,7 @@ on: branches: - develop - CO5/Develop + - PLY/Develop env: # set this to the organization name, project key in Sonar @@ -45,12 +46,12 @@ jobs: steps: #Set up Java which is needed for SonarScan post processing step - name: Setup Java JDK - uses: actions/setup-java@v3.4.0 + uses: actions/setup-java@v4.2.1 with: distribution: 'microsoft' # See 'Supported distributions' for available options - java-version: '11' + java-version: '17' - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: # Shallow clones should be disabled for a better relevancy of analysis fetch-depth: 0 @@ -58,7 +59,7 @@ jobs: # Speed-up analysis by caching the scanner workspace - name: SonarScan - Cache SonarCloud workspace - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~\.sonar\cache key: ${{ runner.os }}-sonar-cache @@ -67,7 +68,7 @@ jobs: # Speed-up analysis by caching the scanner installation - name: SonarScan - Cache SonarCloud scanner id: cache-sonar-scanner - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ${{env.SONAR_TOOL_PATH}} key: ${{ runner.os }}-sonar-scanner diff --git a/.github/workflows/sonar-cloud-scan.yml b/.github/workflows/sonar-cloud-scan.yml index 7afa1910..9a6c0dcc 100644 --- a/.github/workflows/sonar-cloud-scan.yml +++ b/.github/workflows/sonar-cloud-scan.yml @@ -44,12 +44,12 @@ jobs: steps: #Set up Java which is needed for SonarScan post processing step - name: Setup Java JDK - uses: actions/setup-java@v3.4.0 + uses: actions/setup-java@v4.2.1 with: distribution: 'microsoft' # See 'Supported distributions' for available options - java-version: '11' + java-version: '17' - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: # # Shallow clones should be disabled for a better relevancy of analysis # fetch-depth: 0 @@ -57,7 +57,7 @@ jobs: # Speed-up analysis by caching the scanner workspace - name: SonarScan - Cache SonarCloud workspace - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~\.sonar\cache key: ${{ runner.os }}-sonar-cache @@ -66,7 +66,7 @@ jobs: # Speed-up analysis by caching the scanner installation - name: SonarScan - Cache SonarCloud scanner id: cache-sonar-scanner - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ${{env.SONAR_TOOL_PATH}} key: ${{ runner.os }}-sonar-scanner @@ -85,4 +85,4 @@ jobs: - name: Build (${{env.SOLUTION_FILE}}) run: dotnet build ${{env.SOLUTION_DIRECTORY}}/${{env.SOLUTION_FILE}} --configuration ${{ env.BUILD_CONFIGURATION }} --no-restore - name: SonarScan - End (${{env.SONAR_PROJECT_KEY}}) - run: ${{env.SONAR_TOOL_PATH}}\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_ACCESS_TOKEN }}" \ No newline at end of file + run: ${{env.SONAR_TOOL_PATH}}\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_ACCESS_TOKEN }}" diff --git a/.github/workflows/tests-in-browser.yml b/.github/workflows/tests-in-browser.yml deleted file mode 100644 index 55745fc4..00000000 --- a/.github/workflows/tests-in-browser.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Add to main branch to allow to be seen in other branches. -# CESMII Profile Designer - Setup and test Profile Designer Web Page using Selenium Tests -# -# For more samples to get started with GitHub Action workflows to deploy to Azure, refer to https://github.com/Azure/actions-workflow-samples -name: Test|In Browser|Profile Designer -on: - #manually trigger deploy - workflow_dispatch: - # Trigger the workflow on push - #push: - # branches: - # - develop - # - main - #pull_request: - # branches: - # - develop - # - main diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9c29cbce..945f615b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,11 +10,13 @@ on: branches: - develop - CO5/Develop + - PLY/Develop - main pull_request: branches: - develop - CO5/Develop + - PLY/Develop - main env: @@ -34,11 +36,11 @@ jobs: name: Build and Test .NET6 Web API runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Set up dotnet Core ${{ env.NETCORE_VERSION }} - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.NETCORE_VERSION }} diff --git a/README.md b/README.md index 07cd194a..754e9580 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@

Prerequisites