Skip to content

Commit

Permalink
Create ir-lint.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
darmiel authored Oct 26, 2024
1 parent 1fd94e0 commit f860d76
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ir-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "🧐 Checking IR Files"

on:
pull_request:
paths:
- '**/*.ir'

jobs:
lint:
name: "🐛 Looking for issues"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Clean Script Directory
run: rm -rf fff-ir-lint

- uses: actions/checkout@v4
with:
repository: 'darmiel/fff-ir-lint'
path: fff-ir-lint

# Get changed files
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
with:
files: "**/*.ir"
json: true
write_output_files: true
sha: ${{ github.event.pull_request.head.sha }}

- name: Verify the contents of the .github/outputs/added_files.json file
run: cat .github/outputs/added_files.json

0 comments on commit f860d76

Please sign in to comment.