Skip to content

chore: Uses Vault helpers (#358) #1333

chore: Uses Vault helpers (#358)

chore: Uses Vault helpers (#358) #1333

Workflow file for this run

name: CI
on:
pull_request:
branches: ["main", "release-*"]
push:
branches: ["main", "release-*"]
concurrency:
group: ${{ (github.ref == 'refs/heads/main' && format('ignore-main-{0}', github.run_id)) || (contains(github.ref, 'refs/heads/release-') && format('ignore-release-{0}', github.run_id)) || format('{0}-{1}', github.workflow, github.ref_name) }}
cancel-in-progress: true
jobs:
lint-report:
uses: canonical/identity-credentials-workflows/.github/workflows/lint-report.yaml@v0
static-analysis:
name: Static analysis
uses: canonical/identity-credentials-workflows/.github/workflows/static-analysis.yaml@v0
unit-tests-with-coverage:
uses: canonical/identity-credentials-workflows/.github/workflows/unit-test.yaml@v0
build:
needs:
- lint-report
- static-analysis
- unit-tests-with-coverage
uses: ./.github/workflows/build.yaml
secrets: inherit
integration-tests:
needs:
- build
uses: ./.github/workflows/integration-tests.yaml
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: canonical/identity-credentials-workflows/.github/workflows/publish-charm.yaml@v0
secrets:
CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }}
with:
track-name: 1.16