Skip to content
Merged
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
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
strategy:
matrix:
go-version:
- 1.23.8
- 1.24.6
sys:
- { os: ubuntu-latest }
- { os: macos-13, shell: zsh }
Expand Down Expand Up @@ -193,6 +193,13 @@ jobs:
if: "!contains(fromJSON('[\"refs/heads/beta\", \"refs/heads/release\", \"refs/heads/LTS\", \"refs/heads/master\"]'), github.ref) && !startsWith(github.event.pull_request.head.ref, 'version/')"
run: parallelize results Check-Format

- # === Raw Unit Tests ===
name: Raw Unit Tests
id: raw_unit_tests
shell: bash
run: parallelize results Unit-Tests
continue-on-error: true

- # === Unit Tests ===
name: Unit Tests
id: unit_tests
Expand Down
6 changes: 3 additions & 3 deletions activestate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ scripts:
standalone: true
description: Runs unit tests (not integration tests)
value: |
go test -v `go list ./... | grep -v integration | grep -v automation | grep -v expect | grep -v state-svc | grep -v state-offline` $@
go test -vet=off -v `go list ./... | grep -v integration | grep -v automation | grep -v expect | grep -v state-svc | grep -v state-offline` $@
- name: integration-tests
language: bash
standalone: true
Expand All @@ -280,14 +280,14 @@ scripts:
unset ACTIVESTATE_ACTIVATED
export INTEGRATION_TEST_USERNAME=$secrets.project.INTEGRATION_TEST_USERNAME
export INTEGRATION_TEST_PASSWORD=$secrets.project.INTEGRATION_TEST_PASSWORD
go test `go list ./... | grep "${INTEGRATION_TEST_REGEX}"` -v "${@:1}" -timeout 20m
go test -vet=off `go list ./... | grep "${INTEGRATION_TEST_REGEX}"` -v "${@:1}" -timeout 20m
- name: integration-tests-build-check
language: bash
standalone: true
description: Builds integration tests and removes the executable artifact(s).
value: |
out="x.test"
go list ./... | grep "${INTEGRATION_TEST_REGEX}" | xargs -L 1 go test -o $out -c
go list ./... | grep "${INTEGRATION_TEST_REGEX}" | xargs -L 1 go test -vet=off -o $out -c
[ -f $out ] && rm $out
- name: clean
language: bash
Expand Down
31 changes: 15 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ActiveState/cli

go 1.23.7
go 1.24.6

require (
github.com/99designs/gqlgen v0.17.54
Expand Down Expand Up @@ -34,7 +34,7 @@ require (
github.com/jarcoal/httpmock v1.0.3
github.com/jessevdk/go-flags v1.4.0
github.com/kami-zh/go-capturer v0.0.0-20171211120116-e492ea43421d
github.com/labstack/echo/v4 v4.9.0
github.com/labstack/echo/v4 v4.13.4
github.com/mash/go-tempfile-suffix v0.0.0-20150731093933-48f0f8a3a5ab
github.com/mattn/go-runewidth v0.0.15
github.com/nicksnyder/go-i18n v1.10.0
Expand All @@ -51,11 +51,11 @@ require (
github.com/thoas/go-funk v0.8.0
github.com/vbauerster/mpb/v7 v7.1.5
github.com/vektah/gqlparser/v2 v2.5.16
golang.org/x/crypto v0.35.0 // indirect
golang.org/x/net v0.36.0
golang.org/x/sys v0.30.0
golang.org/x/term v0.29.0
golang.org/x/text v0.22.0
golang.org/x/crypto v0.41.0 // indirect
golang.org/x/net v0.43.0
golang.org/x/sys v0.35.0
golang.org/x/term v0.34.0
golang.org/x/text v0.28.0
gopkg.in/AlecAivazis/survey.v1 v1.8.8
gopkg.in/toast.v1 v1.0.0-20180812000517-0a84660828b2
gopkg.in/yaml.v2 v2.4.0
Expand Down Expand Up @@ -102,7 +102,7 @@ require (
github.com/aws/aws-sdk-go-v2/service/sts v1.34.1 // indirect
github.com/aws/smithy-go v1.22.4 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/cloudflare/circl v1.6.1 // indirect
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect
github.com/cyphar/filepath-securejoin v0.3.6 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
Expand All @@ -125,7 +125,7 @@ require (
github.com/skeema/knownhosts v1.3.0 // indirect
github.com/sosodev/duration v1.3.1 // indirect
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
golang.org/x/sync v0.11.0 // indirect
golang.org/x/sync v0.16.0 // indirect
)

require (
Expand All @@ -147,18 +147,17 @@ require (
github.com/go-openapi/loads v0.20.2 // indirect
github.com/go-openapi/spec v0.20.3 // indirect
github.com/go-stack/stack v1.8.0 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/labstack/gommon v0.3.1
github.com/labstack/gommon v0.4.2
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/matryer/is v1.4.1
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-sqlite3 v1.14.7 // indirect
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
Expand All @@ -178,14 +177,14 @@ require (
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/ulikunitz/xz v0.5.11 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v1.2.1 // indirect
github.com/valyala/fasttemplate v1.2.2 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.mongodb.org/mongo-driver v1.5.3 // indirect
golang.org/x/mod v0.21.0 // indirect
golang.org/x/time v0.1.0 // indirect
golang.org/x/tools v0.25.0 // indirect
golang.org/x/mod v0.26.0
golang.org/x/time v0.12.0 // indirect
golang.org/x/tools v0.35.0 // indirect
gopkg.in/fsnotify.v1 v1.4.7 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
Expand Down
Loading
Loading