Skip to content

Commit 9df0151

Browse files
committed
Fix snapcraft
1 parent 5039af0 commit 9df0151

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
steps:
2525
- name: Checkout Repository
2626
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
27+
with:
28+
fetch-depth: 0
2729

2830
- name: Setup Golang Environment
2931
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
@@ -103,8 +105,7 @@ jobs:
103105

104106
- name: Setup Snapcraft
105107
run: |
106-
sudo apt-get update
107-
sudo apt-get -yq --no-install-suggests --no-install-recommends install snapcraft
108+
sudo snap install snapcraft --classic
108109
mkdir -p $HOME/.cache/snapcraft/download
109110
mkdir -p $HOME/.cache/snapcraft/stage-packages
110111
if: github.ref_type == 'tag'

0 commit comments

Comments
 (0)