diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fd933bf6..11c951a9 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: @@ -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: diff --git a/Cargo.toml b/Cargo.toml index c9d1e1c4..0ed1b828 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)