Skip to content

Commit c7d3bbb

Browse files
authored
chore: it's 2026 now (#13)
Signed-off-by: tison <wander4096@gmail.com>
1 parent 9beba44 commit c7d3bbb

File tree

19 files changed

+54
-44
lines changed

19 files changed

+54
-44
lines changed

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 FastLabs Developers
1+
# Copyright 2026 FastLabs Developers
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

.github/semantic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 FastLabs Developers
1+
# Copyright 2026 FastLabs Developers
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

.github/workflows/ci-bootstrap.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 FastLabs Developers
1+
# Copyright 2026 FastLabs Developers
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -26,7 +26,7 @@ concurrency:
2626
jobs:
2727
bootstrap:
2828
name: Bootstrap
29-
runs-on: ubuntu-22.04
29+
runs-on: ubuntu-24.04
3030
steps:
3131
- uses: actions/checkout@v6
3232
- name: Install toolchain

.github/workflows/ci.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 FastLabs Developers
1+
# Copyright 2026 FastLabs Developers
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -35,7 +35,7 @@ concurrency:
3535
jobs:
3636
check:
3737
name: Check
38-
runs-on: ubuntu-22.04
38+
runs-on: ubuntu-24.04
3939
steps:
4040
- uses: actions/checkout@v6
4141
- name: Install toolchain
@@ -48,12 +48,26 @@ jobs:
4848
tool: typos-cli,taplo-cli,hawkeye
4949
- run: cargo x lint
5050

51+
msrv:
52+
name: Resolve MSRV
53+
runs-on: ubuntu-24.04
54+
outputs:
55+
rust-versions: ${{ steps.metadata.outputs.rust-versions }}
56+
steps:
57+
- uses: actions/checkout@v6
58+
- id: metadata
59+
run: |
60+
msrv=$(yq '.workspace.package.rust-version' Cargo.toml)
61+
echo "MSRV: $msrv"
62+
echo "rust-versions=[\"${msrv}\", \"stable\"]" >> "$GITHUB_OUTPUT"
63+
5164
test:
5265
name: Run tests
66+
needs: msrv
5367
strategy:
5468
matrix:
5569
os: [ ubuntu-24.04, macos-14, windows-2022 ]
56-
rust-version: [ "1.85.0", "stable" ]
70+
rust-version: ${{ fromJson(needs.msrv.outputs.rust-versions) }}
5771
runs-on: ${{ matrix.os }}
5872
steps:
5973
- uses: actions/checkout@v6

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
11
/target
2-
3-
# temporary files
4-
.DS_Store
5-
__pycache__

Cargo.lock

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 FastLabs Developers
1+
# Copyright 2026 FastLabs Developers
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ Use this repository as a GitHub template to quickly start a new Rust project.
2727

2828
## Minimum Rust version policy
2929

30-
This crate is built against the latest stable release, and its minimum supported rustc version is 1.85.0.
30+
This crate's minimum supported `rustc` version is `1.85.0`.
3131

32-
The policy is that the minimum Rust version required to use this crate can be increased in minor version updates. For example, if version 1.0 requires Rust 1.60.0, then version 1.0.z for all values of z will also require Rust 1.60.0 or newer. However, version 1.y for y > 0 may require a newer minimum version of Rust.
32+
The current policy is that the minimum Rust version required to use this crate can be increased in minor version updates. For example, if `crate 1.0` requires Rust 1.85.0, then `crate 1.0.z` for all values of `z` will also require Rust 1.85.0 or newer. However, `crate 1.y` for `y > 0` may require a newer minimum version of Rust.
3333

3434
## License
3535

licenserc.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 FastLabs Developers
1+
# Copyright 2026 FastLabs Developers
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -18,4 +18,4 @@ includes = ['**/*.proto', '**/*.rs', '**/*.yml', '**/*.yaml', '**/*.toml']
1818

1919
[properties]
2020
copyrightOwner = "FastLabs Developers"
21-
inceptionYear = 2025
21+
inceptionYear = 2026

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 FastLabs Developers
1+
# Copyright 2026 FastLabs Developers
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)