Skip to content

Commit

Permalink
chore: Bump Rust, Go and Node dependencies (#238)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* Mark go.sum and yarn.lock as generated

* Update default.nix

Co-authored-by: Nick <[email protected]>

---------

Co-authored-by: Natalie Klestrup Röijezon <[email protected]>
Co-authored-by: Nick <[email protected]>
  • Loading branch information
3 people authored May 13, 2024
1 parent 9ebb74b commit 525f36e
Show file tree
Hide file tree
Showing 18 changed files with 5,750 additions and 2,465 deletions.
6 changes: 4 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
web/src/api/schema.d.ts linguist-generated
extra/completions/* linguist-generated
crate-hashes.json linguist-generated
extra/man/* linguist-generated
nix/** linguist-generated
Cargo.nix linguist-generated
crate-hashes.json linguist-generated
yarn.lock linguist-generated
nix/** linguist-generated
go.sum linguist-generated
6 changes: 6 additions & 0 deletions .github/workflows/pr_cockpit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:

env:
RUST_VERSION: 1.75.0
GO_VERSION: '^1.22.2'
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: "0"
CARGO_PROFILE_DEV_DEBUG: "0"
Expand Down Expand Up @@ -88,11 +89,16 @@ jobs:
with:
submodules: recursive
- uses: cachix/install-nix-action@6004951b182f8860210c8d6f0d808ec5b1a33d28 # tag=v25

- name: Setup Rust
uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e # v1
with:
toolchain: ${{ env.RUST_VERSION }}

- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
with:
go-version: ${{ env.GO_VERSION }}

- name: Setup Rust Cache
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
with:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/pr_general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: workflow_call

env:
RUST_VERSION: 1.75.0
GO_VERSION: '^1.22.2'
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: "0"
CARGO_PROFILE_DEV_DEBUG: "0"
Expand All @@ -27,6 +28,10 @@ jobs:
with:
toolchain: ${{ env.RUST_VERSION }}

- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
with:
go-version: ${{ env.GO_VERSION }}

- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18
Expand Down Expand Up @@ -84,6 +89,10 @@ jobs:
toolchain: ${{ env.RUST_VERSION }}
components: clippy

- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
with:
go-version: ${{ env.GO_VERSION }}

- uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
with:
key: clippy
Expand Down Expand Up @@ -123,6 +132,10 @@ jobs:
toolchain: ${{ env.RUST_VERSION }}
components: rustfmt

- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
with:
go-version: ${{ env.GO_VERSION }}

- uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
with:
key: doc
Expand All @@ -146,6 +159,10 @@ jobs:
with:
toolchain: ${{ env.RUST_VERSION }}

- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
with:
go-version: ${{ env.GO_VERSION }}

- uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
with:
key: test
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr_stackablectl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:

env:
RUST_VERSION: 1.75.0
GO_VERSION: '^1.22.2'
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: "0"
CARGO_PROFILE_DEV_DEBUG: "0"
Expand Down Expand Up @@ -62,7 +63,7 @@ jobs:

- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
with:
go-version: '^1.22.2'
go-version: ${{ env.GO_VERSION }}

- uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0
with:
Expand Down
Loading

0 comments on commit 525f36e

Please sign in to comment.