Skip to content

fix: get the cicd working #32

fix: get the cicd working

fix: get the cicd working #32

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- "**"
jobs:
changes:
timeout-minutes: 15
name: Check code formatting
runs-on: ubuntu-latest
outputs:
src: ${{ steps.filter.outputs.src }}
steps:
- name: Filter for Rust file changes only
uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- 'src/*.rs'
src:
needs: changes
if: ${{ needs.changes.outputs.backend == 'true' }}
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/[email protected]
with:
clean: false
fetch-depth: 0
- name: Remove untracked files
run: git clean -df
- name: Run code style check
uses: /.github/actions/check_style