Skip to content

Commit 5125e00

Browse files
danieleadesdaniel.eades
authored andcommitted
add msrv check
1 parent d7a5143 commit 5125e00

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,13 @@ jobs:
7676
run: sudo apt update && sudo apt-get install -y nodejs
7777
- name: Execute prettier
7878
run: npx prettier --debug-check -l './**/*.json' './**/*.graphql'
79+
80+
msrv:
81+
runs-on: ubuntu-latest
82+
env:
83+
CARGO_NET_GIT_FETCH_WITH_CLI: true
84+
steps:
85+
- uses: actions/checkout@v4
86+
- uses: taiki-e/install-action@cargo-no-dev-deps
87+
- uses: dtolnay/[email protected] # also set in Cargo.toml
88+
- run: cargo no-dev-deps check -p graphql_client

graphql_client/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ categories = ["network-programming", "web-programming", "wasm"]
1010
edition = "2018"
1111
homepage = "https://github.com/graphql-rust/graphql-client"
1212
readme = "../README.md"
13+
rust-version = "1.62.1" # also set in CI
1314

1415
[package.metadata.docs.rs]
1516
features = ["reqwest"]

0 commit comments

Comments
 (0)