diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff622b5..0a68043 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,7 +65,9 @@ jobs: newgrp lxd - name: Install charmcraft - run: sudo snap install charmcraft --classic --channel=3.x/stable + # We use latest because there's no 4.x track yet. + # We currently need edge to get 26.04 support. + run: sudo snap install charmcraft --classic --channel=latest/edge - name: Pack charm run: sg lxd -c "charmcraft pack" @@ -133,7 +135,9 @@ jobs: env: CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }} run: | - sudo snap install charmcraft --channel 3.x/stable --classic + # We use latest because there's no 4.x track yet. + # We currently need edge to get 26.04 support. + sudo snap install charmcraft --channel latest/stable --classic for FILE in *.charm; do echo "Uploading: $FILE" charmcraft upload --name "$CHARM_NAME" --release "${{ needs.channel.outputs.test }}" "$FILE" @@ -166,7 +170,7 @@ jobs: if: matrix.cloud == 'microk8s' uses: balchua/microk8s-actions@v0.4.2 with: - channel: "1.25-strict/stable" + channel: "1.35-strict/stable" addons: '["dns", "hostpath-storage"]' - name: Install Juju @@ -184,6 +188,7 @@ jobs: run: | sg snap_microk8s <