Skip to content

fix: the access to the config file #3

fix: the access to the config file

fix: the access to the config file #3

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 36, Col: 9): Unrecognized function: 'hashFiles'. Located at position 1 within expression: hashFiles('**/*.sh') != ''
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
validate-action:
name: Validate GitHub Action
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate Action
uses: mpalmer/[email protected]
with:
path: action.yml
format-check:
name: Format Check (dprint)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup dprint
uses: dprint/[email protected]
validate-shell:
name: Validate Shell Scripts
runs-on: ubuntu-latest
if: ${{ hashFiles('**/*.sh') != '' }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: ShellCheck
uses: ludeeus/action-shellcheck@master
with:
scandir: "."