mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
action: clang format
This commit is contained in:
parent
fc1b01bd6e
commit
f97bfc039f
7
.github/workflows/auto format.yml
vendored
7
.github/workflows/auto format.yml
vendored
|
@ -21,8 +21,8 @@ jobs:
|
|||
- uses: actions/checkout@v3.5.2
|
||||
with:
|
||||
# check out HEAD on the branch
|
||||
ref: ${{ github.head_ref }}
|
||||
repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||
# ref: ${{ github.head_ref }}
|
||||
# repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||
# make sure the parent commit is grabbed as well, because
|
||||
# that's what will get formatted (i.e. the most recent commit)
|
||||
fetch-depth: 2
|
||||
|
@ -50,8 +50,7 @@ jobs:
|
|||
with:
|
||||
node-version: 16
|
||||
|
||||
- run: |
|
||||
npm ci
|
||||
- run: npm ci
|
||||
- run: npx prettier --write src/stylesheets src/scripts/gd-*.js
|
||||
# Optimize all PNGs with https://pngquant.org/
|
||||
# - run: sudo apt-get update && sudo apt-get install -y pngquant
|
||||
|
|
Loading…
Reference in a new issue