1# Copyright (c) 2024 Google LLC. All rights reserved. 2# Use of this source code is governed by a BSD-style 3# license that can be found in the LICENSE file. 4# SPDX-License-Identifier: BSD-2-Clause 5 6name: shellcheck 7 8on: 9 pull_request: 10 branches: 11 - main 12 push: 13 branches: 14 - main 15 - '*-ci' 16 17jobs: 18 build: 19 runs-on: ubuntu-24.04 20 steps: 21 - uses: actions/checkout@v4 22 - name: dependencies 23 run: | 24 sudo apt -q update 25 sudo apt install -q -y shellcheck 26 - name: build 27 run: ./.actions/run-shellcheck 28