Skip to content

Commit 72c44e6

Browse files
authored
Merge branch 'main' into optional_isolated_environment
2 parents aa9fc86 + a3895c7 commit 72c44e6

File tree

1,906 files changed

+451891
-33593
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,906 files changed

+451891
-33593
lines changed

.github/workflows/go.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ jobs:
77
strategy:
88
matrix:
99
os: [macos-latest, ubuntu-latest]
10-
name: lint
1110
runs-on: ${{ matrix.os }}
1211
steps:
1312
- name: Setup Image
@@ -19,3 +18,18 @@ jobs:
1918
with:
2019
go-version-file: go.mod
2120
- uses: golangci/golangci-lint-action@v6
21+
test-unit:
22+
strategy:
23+
matrix:
24+
os: [macos-latest, ubuntu-latest]
25+
runs-on: ${{ matrix.os }}
26+
steps:
27+
- name: Setup Image
28+
if: matrix.os == 'ubuntu-latest'
29+
run: |
30+
sudo apt-get update && sudo apt-get install -y libpcap-dev
31+
- uses: actions/checkout@v4
32+
- uses: actions/setup-go@v5
33+
with:
34+
go-version-file: go.mod
35+
- run: bin/test-unit

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# https://golangci-lint.run/usage/configuration/
22
run:
3-
timeout: 3m # 1m default times out on github-action runners
3+
timeout: 5m # 1m default times out on github-action runners
44

55
linters:
66
enable:

acceptance/lifecycle_test.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,18 @@ import (
44
"bytes"
55
"fmt"
66
"io"
7+
"os"
78
"regexp"
89
"strings"
910
"text/template"
1011

11-
. "github.com/cloudfoundry/bosh-cli/v7/acceptance"
12+
boshlog "github.com/cloudfoundry/bosh-utils/logger"
13+
boshsys "github.com/cloudfoundry/bosh-utils/system"
1214
. "github.com/onsi/ginkgo/v2"
1315
. "github.com/onsi/gomega"
1416

15-
"os"
16-
17+
. "github.com/cloudfoundry/bosh-cli/v7/acceptance"
1718
bitestutils "github.com/cloudfoundry/bosh-cli/v7/testutils"
18-
boshlog "github.com/cloudfoundry/bosh-utils/logger"
19-
boshsys "github.com/cloudfoundry/bosh-utils/system"
2019
)
2120

2221
const (

0 commit comments

Comments
 (0)