Skip to content

Setup workflow test to use trusted publisher #105

Setup workflow test to use trusted publisher

Setup workflow test to use trusted publisher #105

name: Check formatting
on:
push:
pull_request:
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check Ruff linting
uses: chartboost/ruff-action@v1
with:
args: 'check'
- name: Check Ruff formatting
if: success() || failure()
uses: chartboost/ruff-action@v1
with:
args: 'format --check'
- name: Check Prettier formatting
if: success() || failure()
uses: creyD/[email protected]
with:
prettier_version: '2.8.8'
dry: true
prettier_options: '--check .'