Skip to content

Commit 692c588

Browse files
authored
fix: extend flagd ci to ofrep, add msrv (#65)
Signed-off-by: Eren Atas <[email protected]>
1 parent c042f71 commit 692c588

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

.github/workflows/flagd-check.yml renamed to .github/workflows/flagd-ofrep-check.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ on:
44
push:
55
paths:
66
- 'crates/flagd/**'
7-
- '.github/workflows/flagd-check.yml'
7+
- 'crates/ofrep/**'
8+
- '.github/workflows/flagd-ofrep-check.yml'
89
pull_request:
910
paths:
1011
- 'crates/flagd/**'
11-
- '.github/workflows/flagd-check.yml'
12+
- 'crates/ofrep/**'
13+
- '.github/workflows/flagd-ofrep-check.yml'
1214

1315
jobs:
1416
check:
@@ -24,6 +26,9 @@ jobs:
2426
sudo apt-get update
2527
sudo apt-get install -y protobuf-compiler
2628
29+
- name: Install Rust
30+
run: rustup update --no-self-update stable && rustup default stable
31+
2732
- name: Install cargo-msrv and cargo-readme
2833
working-directory: crates/flagd
2934
run: |

.github/workflows/release-please.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ jobs:
5050
run: |
5151
sudo apt-get update
5252
sudo apt-get install -y protobuf-compiler
53-
53+
54+
- name: Install Rust
55+
run: rustup update --no-self-update stable && rustup default stable
56+
5457
- name: Setup cache
5558
uses: Swatinem/rust-cache@v2
5659

.github/workflows/rust.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
sudo apt-get update
3030
sudo apt-get install -y protobuf-compiler
3131
32+
- name: Install Rust
33+
run: rustup update --no-self-update stable && rustup default stable
34+
3235
- name: Setup cache
3336
uses: Swatinem/rust-cache@v2
3437

crates/flagd/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "open-feature-flagd"
33
version = "0.0.8"
44
edition = "2021"
5-
rust-version = "1.83" # MSRV
5+
rust-version = "1.85" # MSRV
66
description = "The official flagd provider for OpenFeature."
77
documentation = "https://docs.rs/open-feature-flagd"
88
readme = "README.md"

crates/ofrep/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ license = "Apache-2.0"
77
repository = "https://github.com/open-feature/rust-sdk-contrib"
88
version = "0.0.3"
99
edition = "2024"
10+
rust-version = "1.85.1"
1011

1112
[dev-dependencies]
1213
wiremock = "0.6.3"

0 commit comments

Comments
 (0)