Skip to content

Commit

Permalink
Rename quality_checks action to build
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-szlapa committed Nov 23, 2023
1 parent 0f276e0 commit 1ee5fe2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: quality checks
name: build

on:
workflow_call:
Expand All @@ -7,7 +7,7 @@ on:
required: true

jobs:
quality_checks:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down Expand Up @@ -47,3 +47,6 @@ jobs:

- name: run lint
run: make lint

- name: run compile-go
run: make compile-go
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
BRANCH_NAME: ${{ github.event.pull_request.head.ref }}

jobs:
quality_checks:
uses: ./.github/workflows/quality_checks.yml
build:
uses: ./.github/workflows/build.yml
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ env:
BRANCH_NAME: ${{ github.event.ref.BRANCH_NAME }}

jobs:
quality_checks:
uses: ./.github/workflows/quality_checks.yml
build:
uses: ./.github/workflows/build.yml
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

Expand All @@ -25,7 +25,7 @@ jobs:
echo "commit_id=${{ github.sha }}" >> "$GITHUB_OUTPUT"
tag_release:
needs: quality_checks
needs: build
runs-on: ubuntu-latest
outputs:
spec_version: ${{steps.output_spec_version.outputs.SPEC_VERSION}}
Expand Down Expand Up @@ -80,6 +80,7 @@ jobs:
with:
tag: ${{ env.SPEC_VERSION }}
commit: ${{ github.sha }}
artifacts: lib/get-secrets-layer.zip
body: |
## Commit message
${{ github.event.head_commit.message }}
Expand Down

0 comments on commit 1ee5fe2

Please sign in to comment.