Skip to content

Commit

Permalink
fix: Uses a shared workflow for building (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gmerold authored Dec 3, 2024
1 parent bc346b6 commit 2d4fa8d
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,8 @@ jobs:
- lint-report
- static-analysis
- unit-tests-with-coverage
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- name: Setup LXD
uses: canonical/setup-lxd@main
with:
channel: 5.20/stable

- name: Install charmcraft
run: sudo snap install charmcraft --channel=edge --classic

- name: Build charm under test
run: charmcraft pack --verbose

- name: Archive Charm Under Test
uses: actions/upload-artifact@v4
with:
name: built-charm
path: "*.charm"
retention-days: 5
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
secrets: inherit

integration-test:
needs:
Expand Down

0 comments on commit 2d4fa8d

Please sign in to comment.