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 17, 2025
1 parent d21a956 commit 4391ec5
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 @@ -17,13 +17,13 @@ concurrency:
jobs:

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

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

publish:
if: github.ref_name == 'main'
needs: [scan, build]
uses: ./.github/workflows/publish-rock.yaml
uses: canonical/identity-credentials-workflows/.github/workflows/publish-rock@main
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 4391ec5

Please sign in to comment.