File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,13 +12,34 @@ jobs:
1212 steps :
1313 - uses : actions/checkout@v4
1414
15+ - name : Checkout dependencies
16+ run : |
17+ git clone --depth=1 https://github.com/GrayCodeAI/eyrie.git ../eyrie
18+ git clone --depth=1 https://github.com/GrayCodeAI/tok.git ../tok
19+ git clone --depth=1 https://github.com/GrayCodeAI/yaad.git ../yaad
20+ git clone --depth=1 https://github.com/GrayCodeAI/inspect.git ../inspect
21+ git clone --depth=1 https://github.com/GrayCodeAI/sight.git ../sight
22+
1523 - name : Set up Go
1624 uses : actions/setup-go@v5
1725 with :
1826 go-version : ' 1.26.1'
1927
2028 - name : Download dependencies
21- run : go mod download
29+ run : |
30+ cp go.work.ci go.work 2>/dev/null || cat > go.work << 'EOF'
31+ go 1.26.1
32+ use .
33+ replace (
34+ github.com/hawk/eyrie => ../eyrie
35+ github.com/GrayCodeAI/eyrie => ../eyrie
36+ github.com/GrayCodeAI/tok => ../tok
37+ github.com/GrayCodeAI/yaad => ../yaad
38+ github.com/GrayCodeAI/inspect => ../inspect
39+ github.com/GrayCodeAI/sight => ../sight
40+ )
41+ EOF
42+ go mod download
2243
2344 - name : Run tests
2445 run : go test -v -race -coverprofile=coverage.out ./...
4566 go-version : ' 1.26.1'
4667
4768 - name : golangci-lint
48- uses : golangci/golangci-lint-action@v6
69+ uses : golangci/golangci-lint-action@v7
4970 with :
5071 version : v2.1.0
5172 args : --timeout 5m
You can’t perform that action at this time.
0 commit comments