cargo vendor π on - update itertools 0.11.0 -> 0.12.1
Summary:
[Release Notes for 0.12.0](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md#0120)
[Release Notes for 0.12.1](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md#0121)
### Breaking
- Made take_while_inclusive
consume iterator by value ([#709](https://github.com/rust-itertools/itertools/pull/709)) --- there are [2 usages](https://www.internalfb.com/code/search?q=repo%3Afbcode%20take_while_inclusive&la...
#113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
name: cargo vendor and commit | |
run-name: cargo vendor π on - ${{ github.event.head_commit.message }} | |
jobs: | |
cargo_vendor: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Delete release branch | |
uses: dawidd6/action-delete-branch@v3 | |
with: | |
soft_fail: true # set to true so that if the branch doesn't exist action doesnt fail | |
branches: release | |
- uses: actions/checkout@v2 | |
- uses: dtolnay/rust-toolchain@stable | |
- run: cargo vendor vendor_external | |
- name: Create .cargo dir | |
run: | | |
mkdir -p .cargo | |
- name: Create cargo config | |
shell: bash | |
run: | | |
cat << EOF > .cargo/config.toml | |
[source.crates-io] | |
replace-with = "vendored-sources" | |
[source.vendored-sources] | |
directory = "vendor_external" | |
EOF | |
- name: commit to 'new' release branch | |
uses: EndBug/[email protected] | |
with: | |
new_branch: release | |
author_name: GitHub Action | |
author_email: [email protected] |