Skip to content

chore(pinact): pin/update GitHub Actions #130

chore(pinact): pin/update GitHub Actions

chore(pinact): pin/update GitHub Actions #130

Workflow file for this run

name: Simple CI
on: [pull_request]
jobs:
run-ci:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm install
- name: Check if the git repository is clean
run: $(exit $(git status --porcelain --untracked-files=no | head -255 | wc -l)) || (echo "Dirty git tree"; git diff; exit 1)
- run: npm run lint
clang:
name: Clang-Format Check
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
path:
- 'ios'
- 'android'
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: jidicula/clang-format-action@654a770daa28443dd111d133e4083e21c1075674 # v4.18.0
with:
clang-format-version: '17'
check-path: ${{ matrix.path }}
include-regex: '^.*(\.h|\.m|\.java)'