Skip to content

Commit

Permalink
chore: rename workflow files (#77)
Browse files Browse the repository at this point in the history
Signed-off-by: guillaume <[email protected]>
  • Loading branch information
gruyaume committed Sep 16, 2024
1 parent 88ce507 commit fa0ccf4
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Frontend
name: Frontend Build

on:
workflow_call:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Unit Test Frontend
name: Frontend Unit Tests

on:
workflow_call:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Notary
name: Go Build

on:
workflow_call:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-lint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint
name: Go Lint

on:
workflow_call:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Unit Test Notary
name: Go Unit Tests

on:
workflow_call:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-vet.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Vet
name: Go Vet

on:
workflow_call:
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,38 @@ on:
- main

jobs:
unit-test-frontend:
uses: ./.github/workflows/test-frontend.yaml
nextjs-build:
uses: ./.github/workflows/build-frontend.yaml
frontend-unit-test:
uses: ./.github/workflows/frontend-unittest.yaml
frontend-build:
uses: ./.github/workflows/frontend-build.yaml
go-unit-test:
needs: [nextjs-build]
uses: ./.github/workflows/test-notary.yaml
needs: [frontend-build]
uses: ./.github/workflows/go-unittest.yaml
go-vet:
needs: [nextjs-build]
needs: [frontend-build]
uses: ./.github/workflows/go-vet.yaml
go-lint:
needs: [nextjs-build]
needs: [frontend-build]
uses: ./.github/workflows/go-lint.yaml
go-build:
needs: [nextjs-build]
uses: ./.github/workflows/build-notary.yaml
needs: [frontend-build]
uses: ./.github/workflows/go-build.yaml
rock-build:
needs: [go-build, go-unit-test, go-vet, go-lint]
uses: ./.github/workflows/build-rock.yaml
uses: ./.github/workflows/rock-build.yaml
rock-scan:
if: github.ref_name == 'main'
needs: [rock-build]
uses: ./.github/workflows/scan-rock.yaml
uses: ./.github/workflows/rock-scan.yaml
rock-publish:
if: github.ref_name == 'main'
needs: [rock-build]
uses: ./.github/workflows/publish-rock.yaml
uses: ./.github/workflows/rock-publish.yaml
snap-build:
needs: [go-build, go-unit-test, go-vet, go-lint]
uses: ./.github/workflows/build-snap.yaml
uses: ./.github/workflows/snap-build.yaml
snap-publish:
if: github.ref_name == 'main'
needs: [snap-build]
uses: ./.github/workflows/publish-snap.yaml
uses: ./.github/workflows/snap-publish.yaml
secrets: inherit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Lint PR"
name: PR Lint

on:
pull_request_target:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build ROCK
name: Rock Build

on:
workflow_call:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish ROCK
name: Rock Publish

on:
workflow_call:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Scan
name: Rock Scan

on:
workflow_call:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Snap
name: Snap Build

on:
workflow_call:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Snap
name: Snap Publish

on:
workflow_call:
Expand Down

0 comments on commit fa0ccf4

Please sign in to comment.