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