Colin/revm environment middleware #68
Workflow file for this run
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
name: Bump patch version | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
bump_version: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.merged == true | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Setup Rust | |
uses: actions-rs/toolchain@v2 | |
with: | |
profile: minimal | |
toolchain: stable | |
- name: Install cargo-edit | |
run: cargo install cargo-edit | |
- name: Configure Git | |
run: | | |
git config --global user.email "waylonjepsen1@gmail.com" | |
git config --global user.name "Waylon Jepsen" | |
- name: Bump patch version | |
run: | | |
cargo set-version --bump patch | |
git add Cargo.toml lib/**/Cargo.toml | |
git commit -m "Bump patch version" | |
git push |