Skip to content

Commit 525f36e

Browse files
TechassinightkrNickLarsenNZ
authored
chore: Bump Rust, Go and Node dependencies (#238)
* Bump Rust dependencies * Bump Go dependencies * Bump Node dependencies * Update Go to 1.21 * Use setup-go action in workflows * niv update * Remove overlays for dropped Babel plugins * Add override for utoipa-swagger-ui trying to download UI bundle Caused by juhaku/utoipa#845 * Update Cargo.toml Co-authored-by: Nick <NickLarsenNZ@users.noreply.github.com> * Mark go.sum and yarn.lock as generated * Update default.nix Co-authored-by: Nick <NickLarsenNZ@users.noreply.github.com> --------- Co-authored-by: Natalie Klestrup Röijezon <nat@nullable.se> Co-authored-by: Nick <NickLarsenNZ@users.noreply.github.com>
1 parent 9ebb74b commit 525f36e

File tree

18 files changed

+5750
-2465
lines changed

18 files changed

+5750
-2465
lines changed

.gitattributes

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
web/src/api/schema.d.ts linguist-generated
22
extra/completions/* linguist-generated
3+
crate-hashes.json linguist-generated
34
extra/man/* linguist-generated
4-
nix/** linguist-generated
55
Cargo.nix linguist-generated
6-
crate-hashes.json linguist-generated
6+
yarn.lock linguist-generated
7+
nix/** linguist-generated
8+
go.sum linguist-generated

.github/workflows/pr_cockpit.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616

1717
env:
1818
RUST_VERSION: 1.75.0
19+
GO_VERSION: '^1.22.2'
1920
CARGO_TERM_COLOR: always
2021
CARGO_INCREMENTAL: "0"
2122
CARGO_PROFILE_DEV_DEBUG: "0"
@@ -88,11 +89,16 @@ jobs:
8889
with:
8990
submodules: recursive
9091
- uses: cachix/install-nix-action@6004951b182f8860210c8d6f0d808ec5b1a33d28 # tag=v25
92+
9193
- name: Setup Rust
9294
uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e # v1
9395
with:
9496
toolchain: ${{ env.RUST_VERSION }}
9597

98+
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
99+
with:
100+
go-version: ${{ env.GO_VERSION }}
101+
96102
- name: Setup Rust Cache
97103
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
98104
with:

.github/workflows/pr_general.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on: workflow_call
55

66
env:
77
RUST_VERSION: 1.75.0
8+
GO_VERSION: '^1.22.2'
89
CARGO_TERM_COLOR: always
910
CARGO_INCREMENTAL: "0"
1011
CARGO_PROFILE_DEV_DEBUG: "0"
@@ -27,6 +28,10 @@ jobs:
2728
with:
2829
toolchain: ${{ env.RUST_VERSION }}
2930

31+
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
32+
with:
33+
go-version: ${{ env.GO_VERSION }}
34+
3035
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
3136
with:
3237
node-version: 18
@@ -84,6 +89,10 @@ jobs:
8489
toolchain: ${{ env.RUST_VERSION }}
8590
components: clippy
8691

92+
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
93+
with:
94+
go-version: ${{ env.GO_VERSION }}
95+
8796
- uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
8897
with:
8998
key: clippy
@@ -123,6 +132,10 @@ jobs:
123132
toolchain: ${{ env.RUST_VERSION }}
124133
components: rustfmt
125134

135+
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
136+
with:
137+
go-version: ${{ env.GO_VERSION }}
138+
126139
- uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
127140
with:
128141
key: doc
@@ -146,6 +159,10 @@ jobs:
146159
with:
147160
toolchain: ${{ env.RUST_VERSION }}
148161

162+
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
163+
with:
164+
go-version: ${{ env.GO_VERSION }}
165+
149166
- uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
150167
with:
151168
key: test

.github/workflows/pr_stackablectl.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515

1616
env:
1717
RUST_VERSION: 1.75.0
18+
GO_VERSION: '^1.22.2'
1819
CARGO_TERM_COLOR: always
1920
CARGO_INCREMENTAL: "0"
2021
CARGO_PROFILE_DEV_DEBUG: "0"
@@ -62,7 +63,7 @@ jobs:
6263

6364
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
6465
with:
65-
go-version: '^1.22.2'
66+
go-version: ${{ env.GO_VERSION }}
6667

6768
- uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
6869
with:

0 commit comments

Comments
 (0)