Skip to content

Commit 3fbe47f

Browse files
authored
Merge pull request #78 from cuviper/rename-head
Rename master to main
2 parents dcaa965 + dcaece1 commit 3fbe47f

3 files changed

Lines changed: 12 additions & 8 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: master
1+
name: main
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
schedule:
77
- cron: '0 0 * * 0' # 00:00 Sunday
88

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![crate](https://img.shields.io/crates/v/num-integer.svg)](https://crates.io/crates/num-integer)
44
[![documentation](https://docs.rs/num-integer/badge.svg)](https://docs.rs/num-integer)
55
[![minimum rustc 1.31](https://img.shields.io/badge/rustc-1.31+-red.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
6-
[![build status](https://github.com/rust-num/num-integer/workflows/master/badge.svg)](https://github.com/rust-num/num-integer/actions)
6+
[![build status](https://github.com/rust-num/num-integer/actions/workflows/main.yaml/badge.svg)](https://github.com/rust-num/num-integer/actions/workflows/main.yaml)
77

88
`Integer` trait and functions for Rust.
99

ci/test_full.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ check_version() {
2121
]]
2222
}
2323

24+
export CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback
25+
generate_lockfile() {
26+
cargo generate-lockfile
27+
if ! check_version 1.85 ; then
28+
cargo +stable update
29+
fi
30+
}
31+
2432
echo "Testing $CRATE on rustc $RUST_VERSION"
2533
if ! check_version $MSRV ; then
2634
echo "The minimum for $CRATE is rustc $MSRV"
@@ -30,11 +38,7 @@ fi
3038
FEATURES=()
3139
echo "Testing supported features: ${FEATURES[*]}"
3240

33-
cargo generate-lockfile
34-
35-
# num-traits 0.2.19 started using dep: features, which requires 1.60 and is
36-
# otherwise ignored down to 1.51, but we need a manual downgrade before that.
37-
check_version 1.51 || cargo update -p num-traits --precise 0.2.18
41+
generate_lockfile
3842

3943
set -x
4044

0 commit comments

Comments
 (0)