From 7d8b6c9e1248fab60b88ff6cabb0311d891a0609 Mon Sep 17 00:00:00 2001 From: Vanderlan Gomes da Silva Date: Tue, 3 Jan 2023 22:24:34 -0300 Subject: [PATCH] Fix pipeline workflows --- .github/workflows/docker.yml | 4 ++-- .github/workflows/{build.yml => sonar.yml} | 4 ++-- VBaseProject.sln | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) rename .github/workflows/{build.yml => sonar.yml} (97%) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 02cff1f..576b075 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -9,7 +9,7 @@ on: jobs: build: runs-on: ubuntu-22.04 - name: Build and Test + name: Build steps: - uses: actions/checkout@v2 - name: Setup .NET @@ -23,7 +23,7 @@ jobs: push_to_registry: needs: [build] - name: Docker Hub + name: DockerHub Publish runs-on: ubuntu-latest steps: - name: Check out the repo diff --git a/.github/workflows/build.yml b/.github/workflows/sonar.yml similarity index 97% rename from .github/workflows/build.yml rename to .github/workflows/sonar.yml index ee9e272..7ef9327 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/sonar.yml @@ -1,4 +1,4 @@ -name: Build +name: Sonar Analysis on: push: branches: @@ -7,7 +7,7 @@ on: types: [opened, synchronize, reopened] jobs: build: - name: Build + name: Sonar Analysis runs-on: windows-latest steps: - name: Set up JDK 11 diff --git a/VBaseProject.sln b/VBaseProject.sln index 081032d..5cbfd57 100644 --- a/VBaseProject.sln +++ b/VBaseProject.sln @@ -31,6 +31,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "github-workflows", "github- ProjectSection(SolutionItems) = preProject .github\workflows\docker.yml = .github\workflows\docker.yml .github\workflows\dotnet.yml = .github\workflows\dotnet.yml + .github\workflows\sonar.yml = .github\workflows\sonar.yml EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "3 - INFRA", "3 - INFRA", "{434E301F-C36C-4203-B334-D3948130B660}"