Skip to content

Commit 00c1a88

Browse files
committed
Merge branch 'master' into cf/support-import-aliasing
2 parents 1ff1d69 + 4806819 commit 00c1a88

13 files changed

Lines changed: 309 additions & 152 deletions

File tree

.github/workflows/build-release.yaml

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,36 @@ on:
44
release:
55
types: [published]
66

7-
env:
8-
GO_VERSION: "1.25"
9-
107
jobs:
118
release:
129
name: Release Go Binary
1310
runs-on: ubuntu-latest
1411
steps:
1512
# See https://github.com/onflow/flow-cli/pull/1431 for more information
16-
- name: Delete unnecessary cache
17-
run: rm -rf ${RUNNER_TOOL_CACHE}
18-
- uses: actions/checkout@v5
13+
- name: Free up disk space
14+
run: |
15+
sudo rm -rf ${RUNNER_TOOL_CACHE}
16+
sudo rm -rf /usr/share/dotnet
17+
sudo rm -rf /usr/local/share/chromium
18+
sudo rm -rf /usr/local/share/powershell
19+
sudo rm -rf /usr/local/share/vcpkg
20+
sudo rm -rf /usr/local/share/miniconda
21+
sudo rm -rf /opt/ghc
22+
sudo rm -rf /opt/hostedtoolcache/CodeQL
23+
sudo rm -rf /usr/local/share/boost
24+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
25+
sudo docker image prune --all --force
26+
sudo docker builder prune -a -f
27+
sudo apt-get clean
28+
df -h
29+
- uses: actions/checkout@v6
30+
- name: Setup Go
31+
uses: actions/setup-go@v6
32+
with:
33+
go-version-file: ./go.mod
1934
- name: Codebase security check
2035
continue-on-error: true
2136
uses: snyk/actions/golang@master
22-
with:
23-
go-version: ${{ env.GO_VERSION }}
2437
env:
2538
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
2639
- name: Setup Release Environment
@@ -31,5 +44,9 @@ jobs:
3144
echo 'BUILD_TIME=$(date --iso-8601=seconds)' >> .release-env
3245
echo 'VERSION=${{ github.event.release.tag_name }}' >> .release-env
3346
echo 'GITHUB_TOKEN=${{ secrets.FLOW_CLI_RELEASE }}' >> .release-env
47+
# Create temp dir in workspace; set container-visible paths
48+
mkdir -p ${GITHUB_WORKSPACE}/tmp
49+
echo "TMPDIR=/go/src/github.com/onflow/flow-cli/tmp" >> .release-env
50+
echo "GOTMPDIR=/go/src/github.com/onflow/flow-cli/tmp" >> .release-env
3451
- name: Build and Release
3552
run: make release

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
os: [ubuntu-latest, windows-latest]
3030
runs-on: ${{ matrix.os }}
3131
steps:
32-
- uses: actions/checkout@v5
32+
- uses: actions/checkout@v6
3333
- uses: actions/setup-go@v6
3434
with:
3535
go-version: ${{ env.GO_VERSION }}
@@ -49,7 +49,7 @@ jobs:
4949
lint:
5050
runs-on: ubuntu-latest
5151
steps:
52-
- uses: actions/checkout@v5
52+
- uses: actions/checkout@v6
5353
- uses: actions/setup-go@v6
5454
with:
5555
go-version: ${{ env.GO_VERSION }}

.github/workflows/code-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
languages: ['go']
2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v5
31+
uses: actions/checkout@v6
3232

3333
- name: Setup Go
3434
uses: actions/setup-go@v6

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
vulnerable-changes: ${{ steps.review.outputs.vulnerable-changes }}
2222
steps:
2323
- name: "Checkout repository"
24-
uses: actions/checkout@v5
24+
uses: actions/checkout@v6
2525
- name: "Dependency Review"
2626
id: review
2727
uses: actions/dependency-review-action@v4

.github/workflows/sync-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@v6
1515
- uses: micnncim/action-label-syncer@v1
1616
env:
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

flowkit/schema.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,15 @@
105105
},
106106
"key": {
107107
"type": "string"
108+
},
109+
"fork": {
110+
"type": "string"
108111
}
109112
},
110113
"additionalProperties": false,
111114
"type": "object",
112115
"required": [
113-
"host",
114-
"key"
116+
"host"
115117
]
116118
},
117119
"contractDeployment": {

go.mod

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@ require (
99
github.com/coreos/go-semver v0.3.1
1010
github.com/dukex/mixpanel v1.0.1
1111
github.com/ethereum/go-ethereum v1.16.7
12-
github.com/getsentry/sentry-go v0.36.2
12+
github.com/getsentry/sentry-go v0.40.0
1313
github.com/gosuri/uilive v0.0.4
1414
github.com/logrusorgru/aurora/v4 v4.0.0
15-
github.com/onflow/cadence v1.8.3
16-
github.com/onflow/cadence-tools/languageserver v1.7.3
17-
github.com/onflow/cadence-tools/lint v1.6.2
18-
github.com/onflow/cadence-tools/test v1.9.1
19-
github.com/onflow/fcl-dev-wallet v0.8.0
15+
github.com/onflow/cadence v1.8.7
16+
github.com/onflow/cadence-tools/languageserver v1.7.4
17+
github.com/onflow/cadence-tools/lint v1.6.4
18+
github.com/onflow/cadence-tools/test v1.9.2
19+
github.com/onflow/fcl-dev-wallet v0.9.1
2020
github.com/onflow/flixkit-go/v2 v2.6.2
2121
github.com/onflow/flow-core-contracts/lib/go/templates v1.9.2
22-
github.com/onflow/flow-emulator v1.13.0
23-
github.com/onflow/flow-evm-gateway v1.4.0
24-
github.com/onflow/flow-go v0.44.0-experimental-cadence-v1.8.3.0.20251117184523-ab0655178589
25-
github.com/onflow/flow-go-sdk v1.9.3
22+
github.com/onflow/flow-emulator v1.13.2
23+
github.com/onflow/flow-evm-gateway v1.4.2
24+
github.com/onflow/flow-go v0.45.0-experimental-cadence-v1.8.7-vm-test.1
25+
github.com/onflow/flow-go-sdk v1.9.6
2626
github.com/onflow/flow/protobuf/go/flow v0.4.18
27-
github.com/onflow/flowkit/v2 v2.8.0
27+
github.com/onflow/flowkit/v2 v2.9.0
2828
github.com/onflowser/flowser/v3 v3.2.1-0.20240131200229-7d4d22715f48
2929
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
3030
github.com/pkg/errors v0.9.1
@@ -37,15 +37,15 @@ require (
3737
github.com/spf13/viper v1.21.0
3838
github.com/stretchr/testify v1.11.1
3939
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b
40-
golang.org/x/term v0.36.0
41-
google.golang.org/grpc v1.76.0
40+
golang.org/x/term v0.37.0
41+
google.golang.org/grpc v1.77.0
4242
)
4343

4444
require (
4545
cloud.google.com/go v0.121.6 // indirect
4646
cloud.google.com/go/auth v0.16.4 // indirect
4747
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
48-
cloud.google.com/go/compute/metadata v0.8.0 // indirect
48+
cloud.google.com/go/compute/metadata v0.9.0 // indirect
4949
cloud.google.com/go/iam v1.5.3 // indirect
5050
cloud.google.com/go/kms v1.23.2 // indirect
5151
cloud.google.com/go/longrunning v0.7.0 // indirect
@@ -61,7 +61,7 @@ require (
6161
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
6262
github.com/benbjohnson/clock v1.3.5 // indirect
6363
github.com/beorn7/perks v1.0.1 // indirect
64-
github.com/bits-and-blooms/bitset v1.24.0 // indirect
64+
github.com/bits-and-blooms/bitset v1.24.4 // indirect
6565
github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect
6666
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.3 // indirect
6767
github.com/c-bata/go-prompt v0.2.6 // indirect
@@ -106,7 +106,7 @@ require (
106106
github.com/felixge/httpsnoop v1.0.4 // indirect
107107
github.com/ferranbt/fastssz v0.1.4 // indirect
108108
github.com/fsnotify/fsnotify v1.9.0 // indirect
109-
github.com/fxamacker/cbor/v2 v2.8.1-0.20250402194037-6f932b086829 // indirect
109+
github.com/fxamacker/cbor/v2 v2.9.1-0.20251019205732-39888e6be013 // indirect
110110
github.com/fxamacker/circlehash v0.3.0 // indirect
111111
github.com/go-kit/kit v0.12.0 // indirect
112112
github.com/go-kit/log v0.2.1 // indirect
@@ -136,7 +136,7 @@ require (
136136
github.com/gorilla/websocket v1.5.3 // indirect
137137
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0 // indirect
138138
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
139-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
139+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 // indirect
140140
github.com/hashicorp/errwrap v1.1.0 // indirect
141141
github.com/hashicorp/go-multierror v1.1.1 // indirect
142142
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
@@ -199,7 +199,7 @@ require (
199199
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
200200
github.com/ncruces/go-strftime v0.1.9 // indirect
201201
github.com/olekukonko/tablewriter v0.0.5 // indirect
202-
github.com/onflow/atree v0.11.0 // indirect
202+
github.com/onflow/atree v0.12.0 // indirect
203203
github.com/onflow/crypto v0.25.3 // indirect
204204
github.com/onflow/fixed-point v0.1.1 // indirect
205205
github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.2 // indirect
@@ -264,28 +264,28 @@ require (
264264
github.com/x448/float16 v0.8.4 // indirect
265265
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
266266
github.com/zeebo/blake3 v0.2.4 // indirect
267-
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
267+
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
268268
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0 // indirect
269269
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0 // indirect
270-
go.opentelemetry.io/otel v1.37.0 // indirect
270+
go.opentelemetry.io/otel v1.38.0 // indirect
271271
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.31.0 // indirect
272272
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.31.0 // indirect
273-
go.opentelemetry.io/otel/metric v1.37.0 // indirect
274-
go.opentelemetry.io/otel/sdk v1.37.0 // indirect
275-
go.opentelemetry.io/otel/trace v1.37.0 // indirect
276-
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
273+
go.opentelemetry.io/otel/metric v1.38.0 // indirect
274+
go.opentelemetry.io/otel/sdk v1.38.0 // indirect
275+
go.opentelemetry.io/otel/trace v1.38.0 // indirect
276+
go.opentelemetry.io/proto/otlp v1.7.0 // indirect
277277
go.uber.org/atomic v1.11.0 // indirect
278278
go.uber.org/multierr v1.11.0 // indirect
279279
go.uber.org/ratelimit v0.3.1 // indirect
280280
go.uber.org/zap v1.27.0 // indirect
281281
go.yaml.in/yaml/v2 v2.4.2 // indirect
282282
go.yaml.in/yaml/v3 v3.0.4 // indirect
283-
golang.org/x/crypto v0.42.0 // indirect
284-
golang.org/x/net v0.44.0 // indirect
285-
golang.org/x/oauth2 v0.30.0 // indirect
286-
golang.org/x/sync v0.17.0 // indirect
287-
golang.org/x/sys v0.37.0 // indirect
288-
golang.org/x/text v0.29.0 // indirect
283+
golang.org/x/crypto v0.45.0 // indirect
284+
golang.org/x/net v0.47.0 // indirect
285+
golang.org/x/oauth2 v0.32.0 // indirect
286+
golang.org/x/sync v0.18.0 // indirect
287+
golang.org/x/sys v0.38.0 // indirect
288+
golang.org/x/text v0.31.0 // indirect
289289
golang.org/x/time v0.12.0 // indirect
290290
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
291291
gonum.org/v1/gonum v0.16.0 // indirect
@@ -301,6 +301,6 @@ require (
301301
modernc.org/libc v1.66.10 // indirect
302302
modernc.org/mathutil v1.7.1 // indirect
303303
modernc.org/memory v1.11.0 // indirect
304-
modernc.org/sqlite v1.40.0 // indirect
304+
modernc.org/sqlite v1.40.1 // indirect
305305
nhooyr.io/websocket v1.8.7 // indirect
306306
)

0 commit comments

Comments
 (0)