From 130253ef2b914d300c1a0c6cff36cd3a5d846767 Mon Sep 17 00:00:00 2001 From: Brandon W Maister Date: Sat, 11 Jul 2020 13:56:02 -0400 Subject: [PATCH] Support testing on both main and master (#454) --- .github/workflows/lint.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- README.md | 2 +- src/lib.rs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b3202deed5..711e381a7c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,9 +2,9 @@ name: lint on: push: - branches: [master] + branches: [main, master] pull_request: - branches: [master] + branches: [main, master] jobs: lint: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 480bc6a470..1b9425390c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,10 +2,10 @@ name: test on: push: - branches: [master] + branches: [main, master] paths: '**.rs' pull_request: - branches: [master] + branches: [main, master] paths: '**.rs' jobs: diff --git a/README.md b/README.md index 128568d506..509077fc9a 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ which Chrono builds upon and should acknowledge: * Luis de Bethencourt's [rust-datetime](https://github.com/luisbg/rust-datetime) Any significant changes to Chrono are documented in -the [`CHANGELOG.md`](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md) file. +the [`CHANGELOG.md`](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) file. ## Usage diff --git a/src/lib.rs b/src/lib.rs index 8bbcdb50e6..f09d682d6b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,7 +20,7 @@ //! * Luis de Bethencourt's [rust-datetime](https://github.com/luisbg/rust-datetime) //! //! Any significant changes to Chrono are documented in -//! the [`CHANGELOG.md`](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md) file. +//! the [`CHANGELOG.md`](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) file. //! //! ## Usage //!