Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
fetch-tags: true
fetch-depth: 0

- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 #v5.5.0
- name: Setup Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e #v7.0.0
with:
go-version: '1.25'
go-version-file: 'go.mod'

- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 #v5.5.0
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e #v7.0.0
with:
go-version: '1.25'
go-version-file: 'go.mod'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 #v9.2.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mingo_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
fetch-depth: 0

- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 #v5.3.0
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e #v7.0.0
with:
go-version: '1.19'
go-version: '1.19.x'

- name: Install dependencies
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/vulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
fetch-tags: true
fetch-depth: 0

- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 #v5.5.0
- name: Setup Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e #v7.0.0
with:
go-version: '1.25'
go-version-file: 'go.mod'
check-latest: true

- name: Install govulncheck
Expand Down
48 changes: 21 additions & 27 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,45 +1,39 @@
module github.com/uyuni-project/uyuni-tools

go 1.21
go 1.25.0

require (
github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2
github.com/briandowns/spinner v1.23.0
github.com/chai2010/gettext-go v1.0.2
github.com/go-viper/mapstructure/v2 v2.4.0
github.com/spf13/cobra v1.8.0
golang.org/x/net v0.23.0
github.com/briandowns/spinner v1.23.2
github.com/chai2010/gettext-go v1.0.3
github.com/go-viper/mapstructure/v2 v2.5.0
github.com/spf13/cobra v1.10.2
)

require (
github.com/creack/pty v1.1.18 // indirect
github.com/fatih/color v1.7.0 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/fatih/color v1.19.0 // indirect
github.com/pelletier/go-toml/v2 v2.4.3 // indirect
github.com/rogpeppe/go-internal v1.10.0 // indirect
github.com/stretchr/testify v1.8.4 // indirect
github.com/sagikazarmark/locafero v0.12.0 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
)

require (
github.com/fsnotify/fsnotify v1.4.7 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/fsnotify/fsnotify v1.10.1 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mitchellh/mapstructure v1.1.2 // indirect
github.com/pelletier/go-toml v1.2.0 // indirect
github.com/rs/zerolog v1.34.0
github.com/spf13/afero v1.1.2 // indirect
github.com/spf13/cast v1.3.0 // indirect
github.com/spf13/jwalterweatherman v1.0.0 // indirect
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.7.0
github.com/subosito/gotenv v1.2.0 // indirect
golang.org/x/sys v0.18.0
golang.org/x/term v0.18.0
golang.org/x/text v0.14.0 // indirect
gopkg.in/ini.v1 v1.51.0 // indirect
github.com/mattn/go-colorable v0.1.15 // indirect
github.com/mattn/go-isatty v0.0.23 // indirect
github.com/rs/zerolog v1.35.1
github.com/spf13/afero v1.15.0 // indirect
github.com/spf13/cast v1.10.0 // indirect
github.com/spf13/pflag v1.0.10
github.com/spf13/viper v1.21.0
github.com/subosito/gotenv v1.6.0 // indirect
golang.org/x/sys v0.47.0
golang.org/x/term v0.45.0
golang.org/x/text v0.40.0 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.2.1
gopkg.in/yaml.v2 v2.4.0
)
371 changes: 48 additions & 323 deletions go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions shared/testutils/runner.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// SPDX-FileCopyrightText: 2025 SUSE LLC
// SPDX-FileCopyrightText: 2026 SUSE LLC
//
// SPDX-License-Identifier: Apache-2.0

package testutils

import (
"bytes"
"context"

"github.com/rs/zerolog"
"github.com/uyuni-project/uyuni-tools/shared/types"
"golang.org/x/net/context"
)

type fakeRunner struct {
Expand Down
1 change: 1 addition & 0 deletions uyuni-tools.changes.mbussolotto.update_dep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Update golang dep (bsc#1266481)
Loading