xref: /freebsd/contrib/libfido2/.github/workflows/shellcheck.yml (revision e64bea71c21eb42e97aa615188ba91f6cce0d36d)
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