Skip to content

Commit

Permalink
build: Use shared workflows (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielArndt authored Jan 15, 2025
1 parent e7bad01 commit 4ed7983
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 92 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/lint-report.yaml

This file was deleted.

14 changes: 9 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ concurrency:

jobs:
lint-report:
uses: ./.github/workflows/lint-report.yaml
uses: canonical/identity-credentials-workflows/.github/workflows/lint-report.yaml@main

static-analysis:
name: Static analysis
uses: ./.github/workflows/static-analysis.yaml
uses: canonical/identity-credentials-workflows/.github/workflows/static-analysis.yaml@main

unit-tests-with-coverage:
uses: ./.github/workflows/unit-test.yaml
uses: canonical/identity-credentials-workflows/.github/workflows/unit-test.yaml@main

build:
needs:
Expand All @@ -36,12 +36,16 @@ jobs:
secrets: inherit

publish-charm:
name: Publish Charm
needs:
- lint-report
- static-analysis
- unit-tests-with-coverage
- build
- integration-tests
if: ${{ github.ref_name == 'main' || startsWith(github.ref_name, 'release-') }}
uses: ./.github/workflows/publish-charm.yaml
secrets: inherit
uses: canonical/identity-credentials-workflows/.github/workflows/publish-charm.yaml@main
secrets:
CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }}
with:
track-name: 1.16
38 changes: 0 additions & 38 deletions .github/workflows/publish-charm.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/static-analysis.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/unit-test.yaml

This file was deleted.

0 comments on commit 4ed7983

Please sign in to comment.