From 7a9adcacd098128ee3017ad973afb841d1fc123e Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Mon, 20 Nov 2023 15:32:10 +0700 Subject: [PATCH 1/3] ci: Update badge info to not refer to Travis CI (#500) Signed-off-by: Bruce Mitchener --- Cargo.toml | 3 --- README.md | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e2197605..5cf82f25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,9 +11,6 @@ readme = "README.md" repository = "https://github.com/tikv/rust-prometheus" version = "0.13.3" -[badges] -travis-ci = { repository = "pingcap/rust-prometheus" } - [package.metadata.docs.rs] features = ["nightly"] diff --git a/README.md b/README.md index 47b862ba..bb4b5617 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Prometheus Rust client library -[![Build Status](https://travis-ci.org/tikv/rust-prometheus.svg?branch=master)](https://travis-ci.org/pingcap/rust-prometheus) +[![Build Status](https://github.com/tikv/rust-prometheus/actions/workflows/rust.yml/badge.svg)](https://github.com/tikv/rust-prometheus/actions/workflows/rust.yml) [![docs.rs](https://docs.rs/prometheus/badge.svg)](https://docs.rs/prometheus) [![crates.io](https://img.shields.io/crates/v/prometheus.svg)](https://crates.io/crates/prometheus) From a72d8d7db880f57ade09dd9139c8b2c5501fbf2f Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Mon, 20 Nov 2023 16:27:48 +0700 Subject: [PATCH 2/3] Bump MSRV to 1.65 to fix CI. (#505) Signed-off-by: Bruce Mitchener --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fd933bf6..c90cf54c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -9,9 +9,9 @@ on: env: CARGO_TERM_COLOR: always # Pinned toolchain for linting and benchmarks - ACTIONS_LINTS_TOOLCHAIN: 1.63.0 + ACTIONS_LINTS_TOOLCHAIN: 1.65.0 # Minimum supported Rust version (MSRV) - ACTION_MSRV_TOOLCHAIN: 1.60.0 + ACTION_MSRV_TOOLCHAIN: 1.65.0 EXTRA_FEATURES: "protobuf push process" jobs: From 76a634587a95340db56959f5808ac0a6494f6282 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Mon, 20 Nov 2023 17:35:10 +0700 Subject: [PATCH 3/3] ci: Update to `actions/checkout@v4`. (#499) The main thing here is an update on the GitHub side for what version of Node is being used to stay ahead of their deprecation schedule. Signed-off-by: Bruce Mitchener --- .github/workflows/rust.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c90cf54c..11c951a9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install toolchain uses: dtolnay/rust-toolchain@stable - name: cargo build @@ -44,7 +44,7 @@ jobs: - "nightly" steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install toolchain uses: dtolnay/rust-toolchain@master with: @@ -62,7 +62,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install toolchain uses: dtolnay/rust-toolchain@master with: @@ -78,7 +78,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install toolchain uses: dtolnay/rust-toolchain@master with: @@ -97,7 +97,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install toolchain uses: dtolnay/rust-toolchain@master with: