Skip to content

Bump tauri-apps/tauri-action from 0.5.8 to 0.5.9 #674

Bump tauri-apps/tauri-action from 0.5.8 to 0.5.9

Bump tauri-apps/tauri-action from 0.5.8 to 0.5.9 #674

Workflow file for this run

name: Lint - Prettier
# yamllint disable-line rule:truthy
on:
push:
branches:
- master
pull_request:
types:
- opened
- reopened
- synchronize
workflow_call:
inputs:
file-types:
required: false
type: string
default: "{js,json,ts,tsx,yml,yaml}"
workflow_dispatch:
inputs:
file-types:
required: false
type: string
default: "{js,json,ts,tsx,yml,yaml}"
jobs:
lint-prettier:
name: 👕 Prettier
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v4.1.7
with:
ref: ${{ github.head_ref }}
- name: ⤵️ Install dependencies
run: |
yarn install
- name: 🚀 Run Prettier
run: |
npx prettier --check **/*.${{ inputs.file-types || '{json,yml}' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}