cargo vendor π on - Update bumpalo from 3.11.1 to 3.14.0
Summary:
Per comments in https://fb.workplace.com/groups/learningrust/posts/3593134947624031/?comment_id=3593145200956339
I upgratde bumpalo to 3.14.01
and enabled allocator_api
feature.
bumpalo
release notes:
- https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md#3111
Reviewed By: dtolnay
Differential Revision: D51689704
fbshipit-source-id: a6067555ec471c7524dd26b122a4fdb95b52c1f1
#82
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/add-and-commit@v9.1.1 | |
with: | |
new_branch: release | |
author_name: GitHub Action | |
author_email: action@github.com |