Skip to content

Commit

Permalink
build: Use shared workflows
Browse files Browse the repository at this point in the history
Use shared workflows from https://github.com/canonical/identity-credentials-workflows instead of repeating the same workflows in each project.

This is a first step, and only includes the workflows that were trivial to migrate. More complex workflows that would require parameterization have not been migrated.
  • Loading branch information
DanielArndt committed Jan 31, 2025
1 parent 791914d commit 00ce471
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 107 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/build-rock.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ concurrency:
jobs:

build:
uses: ./.github/workflows/build-rock.yaml
uses: canonical/identity-credentials-workflows/.github/workflows/build-rock.yaml@v0

scan:
needs: build
uses: ./.github/workflows/scan-rock.yaml
uses: canonical/identity-credentials-workflows/.github/workflows/scan-rock.yaml@v0

integration-tests:
needs: build
Expand All @@ -32,4 +32,4 @@ jobs:
publish:
if: github.ref_name == 'main' || startsWith(github.ref_name, 'release-')
needs: [scan, build, integration-tests]
uses: ./.github/workflows/publish-rock.yaml
uses: canonical/identity-credentials-workflows/.github/workflows/publish-rock.yaml@v0
39 changes: 0 additions & 39 deletions .github/workflows/publish-rock.yaml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/scan-rock.yaml

This file was deleted.

0 comments on commit 00ce471

Please sign in to comment.