Skip to content

[fg] Bumped tree sitter parsers and added logging #301

[fg] Bumped tree sitter parsers and added logging

[fg] Bumped tree sitter parsers and added logging #301

Workflow file for this run

name: cargo fmt
on:
push:
branches:
- main
workflow_dispatch:
jobs:
cargo_fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Check with cargo fmt
run: cargo fmt --all
- name: Commit files
run: |
git config --local user.name ${{ github.actor }}
git config user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "cargo formatted: ${{ github.event.commits[0].message }}"
- name: Push changes # push the output folder to your repo
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.head_ref || github.ref_name }}