Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ jobs:
shell: bash

- name: actionlint
run: ./actionlint -color
# actionlint doesn't yet understand GitHub's "$/..." self-repository
# `uses:` syntax (https://github.com/rhysd/actionlint/issues/711),
# which we use below to resolve zizmor's self-repository findings.
# Remove this -ignore once actionlint adds support.
run: ./actionlint -color -ignore 'specifying action "\$/" in invalid format'
shell: bash

test-formatted:
Expand All @@ -39,7 +43,7 @@ jobs:
persist-credentials: false

- name: Run rubyfmt-action against a formatted fixture (expect success)
uses: ./
uses: $/
with:
paths: test/fixtures/formatted.rb

Expand All @@ -54,7 +58,7 @@ jobs:
- name: Run rubyfmt-action against an unformatted fixture (expect failure)
id: rubyfmt
continue-on-error: true
uses: ./
uses: $/
with:
paths: test/fixtures/unformatted.rb

Expand All @@ -75,6 +79,6 @@ jobs:
persist-credentials: false

- name: Run rubyfmt-action against a formatted fixture (expect success)
uses: ./
uses: $/
with:
paths: test/fixtures/formatted.rb
Loading