format
This commit is contained in:
13
.github/actions/clang-format/action.yml
vendored
13
.github/actions/clang-format/action.yml
vendored
@@ -7,8 +7,11 @@ inputs:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: clang-format ${{ inputs.directory }}
|
||||
uses: jidicula/clang-format-action@v4.9.0
|
||||
with:
|
||||
clang-format-version: '12' # This should be roughly in sync with Arcanist
|
||||
check-path: ${{ inputs.directory }}
|
||||
- name: Install
|
||||
shell: bash
|
||||
run: sudo apt install clang-format-12 # This should be roughly in sync with Arcanist
|
||||
|
||||
- name: clang-format
|
||||
shell: bash
|
||||
run: clang-format-12
|
||||
workingDirectory: ${{ inputs.directory }}
|
||||
|
5
.github/actions/setup-website/action.yml
vendored
5
.github/actions/setup-website/action.yml
vendored
@@ -12,8 +12,3 @@ runs:
|
||||
shell: bash
|
||||
run: yarn install --frozen-lockfile
|
||||
working-directory: website
|
||||
|
||||
- name: yarn build
|
||||
shell: bash
|
||||
run: yarn build
|
||||
working-directory: website
|
||||
|
4
.github/workflows/publish-android.yml
vendored
4
.github/workflows/publish-android.yml
vendored
@@ -17,7 +17,9 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/setup-android
|
||||
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup-android
|
||||
|
||||
- name: Write GPG secret keyring
|
||||
run: echo '${{ secrets.GPG_KEY_CONTENTS }}' | base64 -d > /tmp/secring.gpg
|
||||
|
8
.github/workflows/publish-website.yml
vendored
8
.github/workflows/publish-website.yml
vendored
@@ -13,7 +13,13 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/setup-website
|
||||
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup-website
|
||||
|
||||
- name: yarn build
|
||||
run: yarn build
|
||||
working-directory: website
|
||||
|
||||
- uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
|
8
.github/workflows/validate-website.yml
vendored
8
.github/workflows/validate-website.yml
vendored
@@ -9,4 +9,10 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/setup-website
|
||||
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup-website
|
||||
|
||||
- name: yarn build
|
||||
run: yarn build
|
||||
working-directory: website
|
||||
|
Reference in New Issue
Block a user