Skip to content

Commit 82666a4

Browse files
authored
Upgrade go, devbox-install action, update README (#437)
## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 license](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 license. ## Summary Remove the "open in devbox" link from the TySON readme. I think you had remove this previously by directly doing it in the TySON repo, but I had to revert it to allow publishing from the opensource repo to work again. Re-doing the change via the opensource monorepo with this PR. Because CICD seems to be failing, also upgrading the go version. ## How was it tested? N/A
1 parent 97ca826 commit 82666a4

File tree

34 files changed

+396
-265
lines changed

34 files changed

+396
-265
lines changed

.github/workflows/api-ts.yaml

+21-23
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,31 @@ name: API TypeScript CI
33
on:
44
pull_request:
55
paths:
6-
- 'api/ts/**'
6+
- "api/ts/**"
77

88
jobs:
99
check-and-build:
1010
runs-on: ubuntu-latest
11-
11+
1212
steps:
13-
- uses: actions/checkout@v4
14-
15-
- name: Install devbox
16-
uses: jetify-com/[email protected]
17-
with:
18-
enable-cache: true
19-
project-path: './api/ts'
13+
- uses: actions/checkout@v4
14+
15+
- name: Install devbox
16+
uses: jetify-com/[email protected]
17+
with:
18+
enable-cache: true
19+
project-path: "./api/ts"
20+
21+
- name: Install dependencies
22+
working-directory: ./api/ts
23+
run: devbox run pnpm install
2024

21-
- name: Install dependencies
22-
working-directory: ./api/ts
23-
run: devbox run pnpm install
24-
25-
- name: Check
26-
working-directory: ./api/ts
27-
run: |
28-
devbox run check
29-
git diff --exit-code
30-
31-
- name: Build
32-
working-directory: ./api/ts
33-
run: devbox run build
25+
- name: Check
26+
working-directory: ./api/ts
27+
run: |
28+
devbox run check
29+
git diff --exit-code
3430
35-
31+
- name: Build
32+
working-directory: ./api/ts
33+
run: devbox run build

.github/workflows/monorepo-go.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@v4
2020

2121
- name: Install devbox
22-
uses: jetify-com/devbox-install-action@v0.11.0
22+
uses: jetify-com/devbox-install-action@v0.12.0
2323
with:
2424
enable-cache: true
2525

@@ -40,7 +40,7 @@ jobs:
4040
# run: |
4141
# devbox run tidy
4242
# git diff --exit-code
43-
43+
4444
- name: Lint
4545
run: devbox run lint
4646

.github/workflows/publish-repos.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
uses: actions/checkout@v4
9494

9595
- name: Install devbox
96-
uses: jetify-com/devbox-install-action@v0.11.0
96+
uses: jetify-com/devbox-install-action@v0.12.0
9797
with:
9898
enable-cache: true
9999

@@ -113,5 +113,5 @@ jobs:
113113
uses: peter-evans/create-pull-request@v6
114114
with:
115115
title: Update Internal Dependencies
116-
reviewers: 'loreto,mikeland73'
116+
reviewers: "loreto,mikeland73"
117117
base: main

.github/workflows/typeid-js.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ jobs:
2323
uses: actions/checkout@v4
2424

2525
- name: Install devbox
26-
uses: jetify-com/devbox-install-action@v0.11.0
26+
uses: jetify-com/devbox-install-action@v0.12.0
2727
with:
2828
enable-cache: true
29-
project-path: './typeid/typeid-js'
30-
29+
project-path: "./typeid/typeid-js"
3130

3231
- name: Build
3332
working-directory: ./typeid/typeid-js

actions/publish-image/action.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ description: |
33
A Github action that builds a Docker image and pushes it to Artifact Registry in GCP.
44
Images are built either from an existing Dockerfile in the repo or from devbox.json.
55
author: jetify
6-
76
inputs:
87
gcp_project:
98
description: The GCP project where the image will be published.
@@ -44,7 +43,7 @@ runs:
4443
run: gcloud auth configure-docker ${{ inputs.registry }}
4544

4645
- name: Install Devbox
47-
uses: jetify-com/devbox-install-action@v0.11.0
46+
uses: jetify-com/devbox-install-action@v0.12.0
4847
with:
4948
enable-cache: true
5049
project-path: ${{ inputs.template }}

api/devbox.lock

+11-11
Original file line numberDiff line numberDiff line change
@@ -2,50 +2,50 @@
22
"lockfile_version": "1",
33
"packages": {
44
"buf@latest": {
5-
"last_modified": "2024-07-07T16:08:25Z",
6-
"resolved": "github:NixOS/nixpkgs/ab82a9612aa45284d4adf69ee81871a389669a9e#buf",
5+
"last_modified": "2025-02-07T11:26:36Z",
6+
"resolved": "github:NixOS/nixpkgs/d98abf5cf5914e5e4e9d57205e3af55ca90ffc1d#buf",
77
"source": "devbox-search",
8-
"version": "1.34.0",
8+
"version": "1.50.0",
99
"systems": {
1010
"aarch64-darwin": {
1111
"outputs": [
1212
{
1313
"name": "out",
14-
"path": "/nix/store/zv94qh7d1n44l6hhd34bw6ln5swc5y1q-buf-1.34.0",
14+
"path": "/nix/store/z3zh7ik0234jjzmzrf8s75jcn4bl7iln-buf-1.50.0",
1515
"default": true
1616
}
1717
],
18-
"store_path": "/nix/store/zv94qh7d1n44l6hhd34bw6ln5swc5y1q-buf-1.34.0"
18+
"store_path": "/nix/store/z3zh7ik0234jjzmzrf8s75jcn4bl7iln-buf-1.50.0"
1919
},
2020
"aarch64-linux": {
2121
"outputs": [
2222
{
2323
"name": "out",
24-
"path": "/nix/store/v55mrk5l6l8a5mz8kxpny5y2y0v54761-buf-1.34.0",
24+
"path": "/nix/store/drp9ix6dppvlb83ys2q4127gsccjqw5y-buf-1.50.0",
2525
"default": true
2626
}
2727
],
28-
"store_path": "/nix/store/v55mrk5l6l8a5mz8kxpny5y2y0v54761-buf-1.34.0"
28+
"store_path": "/nix/store/drp9ix6dppvlb83ys2q4127gsccjqw5y-buf-1.50.0"
2929
},
3030
"x86_64-darwin": {
3131
"outputs": [
3232
{
3333
"name": "out",
34-
"path": "/nix/store/i39lvdnvm8p4ykx00vkd1n8kqry8malz-buf-1.34.0",
34+
"path": "/nix/store/jmk9rp189ab0q7g1lk2w32mn54iczq4b-buf-1.50.0",
3535
"default": true
3636
}
3737
],
38-
"store_path": "/nix/store/i39lvdnvm8p4ykx00vkd1n8kqry8malz-buf-1.34.0"
38+
"store_path": "/nix/store/jmk9rp189ab0q7g1lk2w32mn54iczq4b-buf-1.50.0"
3939
},
4040
"x86_64-linux": {
4141
"outputs": [
4242
{
4343
"name": "out",
44-
"path": "/nix/store/ra19vmkcxdw1c4aq7rb9z8m8n9403rn9-buf-1.34.0",
44+
"path": "/nix/store/a8lkf21x673b56wap5yi53g7p4138w98-buf-1.50.0",
4545
"default": true
4646
}
4747
],
48-
"store_path": "/nix/store/ra19vmkcxdw1c4aq7rb9z8m8n9403rn9-buf-1.34.0"
48+
"store_path": "/nix/store/a8lkf21x673b56wap5yi53g7p4138w98-buf-1.50.0"
4949
}
5050
}
5151
},

api/ts/devbox.lock

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"lockfile_version": "1",
33
"packages": {
4+
"github:NixOS/nixpkgs/nixpkgs-unstable": {
5+
"resolved": "github:NixOS/nixpkgs/2d068ae5c6516b2d04562de50a58c682540de9bf?lastModified=1740303746&narHash=sha256-XcdiWLEhjJkMxDLKQJ0CCivmYYCvA5MDxu9pMybM5kM%3D"
6+
},
47
58
"last_modified": "2024-06-12T20:55:33Z",
69
"plugin_version": "0.0.2",

devbox.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
}
5151
},
5252
"github:NixOS/nixpkgs/nixpkgs-unstable": {
53-
"resolved": "github:NixOS/nixpkgs/dad564433178067be1fbdfcce23b546254b6d641?lastModified=1740019556&narHash=sha256-vn285HxnnlHLWnv59Og7muqECNMS33mWLM14soFIv2g%3D"
53+
"resolved": "github:NixOS/nixpkgs/2d068ae5c6516b2d04562de50a58c682540de9bf?lastModified=1740303746&narHash=sha256-XcdiWLEhjJkMxDLKQJ0CCivmYYCvA5MDxu9pMybM5kM%3D"
5454
},
5555
"go@latest": {
5656
"last_modified": "2025-02-12T00:10:52Z",

envsec/devbox.lock

+48-20
Original file line numberDiff line numberDiff line change
@@ -5,76 +5,104 @@
55
"resolved": "github:NixOS/nixpkgs/f80ac848e3d6f0c12c52758c0f25c10c97ca3b62"
66
},
77
"go@latest": {
8-
"last_modified": "2024-03-22T11:26:23Z",
9-
"resolved": "github:NixOS/nixpkgs/a3ed7406349a9335cb4c2a71369b697cecd9d351#go",
8+
"last_modified": "2025-02-12T00:10:52Z",
9+
"resolved": "github:NixOS/nixpkgs/83a2581c81ff5b06f7c1a4e7cc736a455dfcf7b4#go_1_24",
1010
"source": "devbox-search",
11-
"version": "1.22.1",
11+
"version": "1.24.0",
1212
"systems": {
1313
"aarch64-darwin": {
1414
"outputs": [
1515
{
1616
"name": "out",
17-
"path": "/nix/store/n1k6wf8q10q7k0863gb78b1rf0j07r7r-go-1.22.1",
17+
"path": "/nix/store/qldcnifalkvyah0wnv7m4zb854yd9l88-go-1.24.0",
1818
"default": true
1919
}
2020
],
21-
"store_path": "/nix/store/n1k6wf8q10q7k0863gb78b1rf0j07r7r-go-1.22.1"
21+
"store_path": "/nix/store/qldcnifalkvyah0wnv7m4zb854yd9l88-go-1.24.0"
2222
},
2323
"aarch64-linux": {
2424
"outputs": [
2525
{
2626
"name": "out",
27-
"path": "/nix/store/fl6cjlp5bvykfz1kxrw687zxzld25pn7-go-1.22.1",
27+
"path": "/nix/store/rrxgml7w4pfmibjbspkdvrw8vd2vnarb-go-1.24.0",
2828
"default": true
2929
}
3030
],
31-
"store_path": "/nix/store/fl6cjlp5bvykfz1kxrw687zxzld25pn7-go-1.22.1"
31+
"store_path": "/nix/store/rrxgml7w4pfmibjbspkdvrw8vd2vnarb-go-1.24.0"
3232
},
3333
"x86_64-darwin": {
3434
"outputs": [
3535
{
3636
"name": "out",
37-
"path": "/nix/store/xgdp7gnf6vzr2ick2ip1lhq4cww65p7w-go-1.22.1",
37+
"path": "/nix/store/7imv22pl4qrjwvi6jzlfb305rc2min45-go-1.24.0",
3838
"default": true
3939
}
4040
],
41-
"store_path": "/nix/store/xgdp7gnf6vzr2ick2ip1lhq4cww65p7w-go-1.22.1"
41+
"store_path": "/nix/store/7imv22pl4qrjwvi6jzlfb305rc2min45-go-1.24.0"
4242
},
4343
"x86_64-linux": {
4444
"outputs": [
4545
{
4646
"name": "out",
47-
"path": "/nix/store/bp39dh48cdqp89hk5mpdi1lxdf0mjl7x-go-1.22.1",
47+
"path": "/nix/store/vh5d5bj1sljdhdypy80x1ydx2jx6rv2q-go-1.24.0",
4848
"default": true
4949
}
5050
],
51-
"store_path": "/nix/store/bp39dh48cdqp89hk5mpdi1lxdf0mjl7x-go-1.22.1"
51+
"store_path": "/nix/store/vh5d5bj1sljdhdypy80x1ydx2jx6rv2q-go-1.24.0"
5252
}
5353
}
5454
},
5555
"golangci-lint@latest": {
56-
"last_modified": "2023-11-17T14:14:56Z",
57-
"resolved": "github:NixOS/nixpkgs/a71323f68d4377d12c04a5410e214495ec598d4c#golangci-lint",
56+
"last_modified": "2025-02-14T06:00:41Z",
57+
"resolved": "github:NixOS/nixpkgs/fada727ee7c0bd487e311dede0a2b0725a0f7765#golangci-lint",
5858
"source": "devbox-search",
59-
"version": "1.55.2",
59+
"version": "1.64.4",
6060
"systems": {
6161
"aarch64-darwin": {
62-
"store_path": "/nix/store/ggfyqw5kl0dy7l6nhajcyayiw05wzrb1-golangci-lint-1.55.2"
62+
"outputs": [
63+
{
64+
"name": "out",
65+
"path": "/nix/store/bkr8ci8dx0ly9x1fpbd5j5grg7m1cshk-golangci-lint-1.64.4",
66+
"default": true
67+
}
68+
],
69+
"store_path": "/nix/store/bkr8ci8dx0ly9x1fpbd5j5grg7m1cshk-golangci-lint-1.64.4"
6370
},
6471
"aarch64-linux": {
65-
"store_path": "/nix/store/ak3wnmbc43wqgg9zky98i44nazxvklqg-golangci-lint-1.55.2"
72+
"outputs": [
73+
{
74+
"name": "out",
75+
"path": "/nix/store/28cismn6xhr01p8larm05g01nlinm9gx-golangci-lint-1.64.4",
76+
"default": true
77+
}
78+
],
79+
"store_path": "/nix/store/28cismn6xhr01p8larm05g01nlinm9gx-golangci-lint-1.64.4"
6680
},
6781
"x86_64-darwin": {
68-
"store_path": "/nix/store/xckmcrd22nij4xwzdiw8ydc4z00rgcd2-golangci-lint-1.55.2"
82+
"outputs": [
83+
{
84+
"name": "out",
85+
"path": "/nix/store/831s0i15adpsirb5rv2yvdbng0z0d2br-golangci-lint-1.64.4",
86+
"default": true
87+
}
88+
],
89+
"store_path": "/nix/store/831s0i15adpsirb5rv2yvdbng0z0d2br-golangci-lint-1.64.4"
6990
},
7091
"x86_64-linux": {
71-
"store_path": "/nix/store/xiy36g6w9qcgzkyifi9hf7ayj2drap9k-golangci-lint-1.55.2"
92+
"outputs": [
93+
{
94+
"name": "out",
95+
"path": "/nix/store/mpl65c3g74wjcs68qz4962jjg9va0h7j-golangci-lint-1.64.4",
96+
"default": true
97+
}
98+
],
99+
"store_path": "/nix/store/mpl65c3g74wjcs68qz4962jjg9va0h7j-golangci-lint-1.64.4"
72100
}
73101
}
74102
},
75103
"runx:mvdan/gofumpt@latest": {
76-
"resolved": "mvdan/gofumpt@v0.5.0",
77-
"version": "v0.5.0"
104+
"resolved": "mvdan/gofumpt@v0.7.0",
105+
"version": "v0.7.0"
78106
}
79107
}
80108
}

envsec/go.mod

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module go.jetify.com/envsec
22

3-
go 1.23
4-
5-
toolchain go1.24.0
3+
go 1.24.0
64

75
require (
86
connectrpc.com/connect v1.16.0

envsec/go.sum

+3
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk
135135
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
136136
golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU=
137137
golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI=
138+
golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8=
138139
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
139140
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
140141
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
@@ -143,6 +144,7 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug
143144
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
144145
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
145146
golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
147+
golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
146148
golang.org/x/oauth2 v0.19.0 h1:9+E/EZBCbTLNrbN35fHv/a/d/mOBatymz1zbtQrXpIg=
147149
golang.org/x/oauth2 v0.19.0/go.mod h1:vYi7skDa1x015PmRRYZ7+s1cWyPgrPiSYRe4rnsexc8=
148150
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -168,6 +170,7 @@ golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
168170
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
169171
golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk=
170172
golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw=
173+
golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY=
171174
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
172175
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
173176
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=

go.work

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
go 1.24
1+
go 1.24.0
22

33
use (
44
./envsec

0 commit comments

Comments
 (0)