Fixed a docker-in-docker build failure due to moby-cli lack in Debian… #17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint Code | |
| on: | |
| pull_request: | |
| types: | |
| - synchronize | |
| - opened | |
| - reopened | |
| - unlocked | |
| paths: | |
| - "src/**" | |
| - "**/*.json" | |
| - "**/*.yml" | |
| - "**/*.yaml" | |
| - "**/*.md" | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "src/**" | |
| - "**/*.json" | |
| - "**/*.yml" | |
| - "**/*.yaml" | |
| - "**/*.md" | |
| workflow_dispatch: | |
| jobs: | |
| lint-src: | |
| name: Lint src Code | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@master | |
| - name: Setup Node 22 | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "22.18.0" | |
| - name: Install Prettier globally | |
| run: npm install -g prettier | |
| - uses: extractions/setup-just@v3 | |
| - name: Install dependencies | |
| run: just deps | |
| - name: Lint src | |
| run: just lint src | |
| lint-config: | |
| name: Lint Config Files | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@master | |
| - name: Setup Node 22 | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "22.18.0" | |
| - name: Install Prettier globally | |
| run: npm install -g prettier | |
| - uses: extractions/setup-just@v3 | |
| - name: Lint Config Files | |
| run: just lint config |