mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-05 13:15:26 +02:00
Revert "fix: temp disable snapcraft" (#4830)
Reverts goreleaser/goreleaser#4826 for when there's a new snap release!
This commit is contained in:
parent
14ab459300
commit
172d6d4b99
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -43,6 +43,7 @@ jobs:
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get -yq --no-install-suggests --no-install-recommends install snapcraft
|
||||
sudo snap refresh snapcraft --revision 11040
|
||||
mkdir -p $HOME/.cache/snapcraft/download
|
||||
mkdir -p $HOME/.cache/snapcraft/stage-packages
|
||||
- uses: crazy-max/ghaction-upx@v3
|
||||
|
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -84,6 +84,7 @@ jobs:
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get -yq --no-install-suggests --no-install-recommends install snapcraft
|
||||
sudo snap refresh snapcraft --revision 11040
|
||||
mkdir -p $HOME/.cache/snapcraft/download
|
||||
mkdir -p $HOME/.cache/snapcraft/stage-packages
|
||||
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v4
|
||||
|
@ -343,7 +343,7 @@ snapcrafts:
|
||||
grade: stable
|
||||
confinement: classic
|
||||
publish: true
|
||||
disable: true # "{{ if .IsNightly }}true{{ end }}"
|
||||
disable: "{{ if .IsNightly }}true{{ end }}"
|
||||
|
||||
sboms:
|
||||
- artifacts: archive
|
||||
|
@ -48,7 +48,6 @@ func TestRunPipeMissingInfo(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestRunPipe(t *testing.T) {
|
||||
t.Skip("https://github.com/goreleaser/goreleaser/issues/4816")
|
||||
testlib.CheckPath(t, "snapcraft")
|
||||
folder := t.TempDir()
|
||||
dist := filepath.Join(folder, "dist")
|
||||
@ -154,7 +153,6 @@ func TestRunPipeInvalidNameTemplate(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestRunPipeWithName(t *testing.T) {
|
||||
t.Skip("https://github.com/goreleaser/goreleaser/issues/4816")
|
||||
testlib.CheckPath(t, "snapcraft")
|
||||
folder := t.TempDir()
|
||||
dist := filepath.Join(folder, "dist")
|
||||
@ -189,7 +187,6 @@ func TestRunPipeWithName(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestRunPipeMetadata(t *testing.T) {
|
||||
t.Skip("https://github.com/goreleaser/goreleaser/issues/4816")
|
||||
testlib.CheckPath(t, "snapcraft")
|
||||
folder := t.TempDir()
|
||||
dist := filepath.Join(folder, "dist")
|
||||
@ -345,7 +342,6 @@ func TestNoSnapcraftInPath(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestRunNoArguments(t *testing.T) {
|
||||
t.Skip("https://github.com/goreleaser/goreleaser/issues/4816")
|
||||
testlib.CheckPath(t, "snapcraft")
|
||||
folder := t.TempDir()
|
||||
dist := filepath.Join(folder, "dist")
|
||||
@ -380,7 +376,6 @@ func TestRunNoArguments(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestCompleter(t *testing.T) {
|
||||
t.Skip("https://github.com/goreleaser/goreleaser/issues/4816")
|
||||
testlib.CheckPath(t, "snapcraft")
|
||||
folder := t.TempDir()
|
||||
dist := filepath.Join(folder, "dist")
|
||||
@ -418,7 +413,6 @@ func TestCompleter(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestCommand(t *testing.T) {
|
||||
t.Skip("https://github.com/goreleaser/goreleaser/issues/4816")
|
||||
testlib.CheckPath(t, "snapcraft")
|
||||
folder := t.TempDir()
|
||||
dist := filepath.Join(folder, "dist")
|
||||
@ -454,7 +448,6 @@ func TestCommand(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestExtraFile(t *testing.T) {
|
||||
t.Skip("https://github.com/goreleaser/goreleaser/issues/4816")
|
||||
testlib.CheckPath(t, "snapcraft")
|
||||
folder := t.TempDir()
|
||||
dist := filepath.Join(folder, "dist")
|
||||
|
Loading…
x
Reference in New Issue
Block a user