Skip to content

Bump xml-rs from 0.8.4 to 0.8.14 (#59) #44

Bump xml-rs from 0.8.4 to 0.8.14 (#59)

Bump xml-rs from 0.8.4 to 0.8.14 (#59) #44

Workflow file for this run

name: Format Rust Code
on:
workflow_dispatch:
push:
branches: [ "main" ]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: xorg-dev libxcb-shape0-dev libxcb-xfixes0-dev
version: 1.0
- uses: actions/checkout@v3
- name: Format code
run: cargo fmt
- name: Setup committer
run: |
git config --local user.name "Matrix Busters Automatic Agent"
git config --local user.email "[email protected]"
- name: Commit changes
run: |
if [[ `git status --porcelain` ]]; then
git diff
git commit -am "Rust code reformatted automatically"
fi
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4