# Copyright (c) the JPEG XL Project Authors. All rights reserved. # # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. # Workflow to run pull-requests specific checks. name: PR on: pull_request: types: [opened, reopened, synchronize] jobs: # Checks that the AUTHORS files is updated with new contributors. authors: runs-on: [ubuntu-latest] steps: - name: Checkout the source uses: actions/checkout@v2 - name: Check AUTHORS file run: ./ci.sh authors format: runs-on: [ubuntu-latest] steps: - name: Install build deps run: | sudo apt update sudo apt install -y \ clang-format \ clang-format-7 \ clang-format-8 \ clang-format-9 \ clang-format-10 \ clang-format-11 \ # - name: Checkout the source uses: actions/checkout@v2 - name: clang-format run: ./ci.sh lint >&2