This commit is contained in:
Nick Gerleman
2022-10-14 07:40:52 -07:00
parent c3ac56e6ee
commit 018ebe3d37
5 changed files with 25 additions and 13 deletions

View File

@@ -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 }}

View File

@@ -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

View File

@@ -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

View File

@@ -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:

View File

@@ -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