Bump actions/checkout from 5.0.1 to 6.0.0 #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-License-Identifier: Apache-2.0 | |
| # SPDX-FileCopyrightText: 2021 The Elixir Team | |
| # SPDX-FileCopyrightText: 2012 Plataformatec | |
| name: CI | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - ".github/workflows/ci-posix-compliance.yml" | |
| - "bin/elixir" | |
| - "bin/elixirc" | |
| - "bin/iex" | |
| pull_request: | |
| paths: | |
| - ".github/workflows/ci-posix-compliance.yml" | |
| - "bin/elixir" | |
| - "bin/elixirc" | |
| - "bin/iex" | |
| env: | |
| LANG: C.UTF-8 | |
| permissions: | |
| contents: read | |
| jobs: | |
| check_posix_compliance: | |
| name: Check POSIX compliance | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - name: Install ShellCheck | |
| run: | | |
| sudo apt update | |
| sudo apt install -y shellcheck | |
| - name: Run ShellCheck on bin/ dir | |
| run: | | |
| shellcheck -e SC2039,2086 bin/elixir && echo "bin/elixir is POSIX compliant" | |
| shellcheck bin/elixirc && echo "bin/elixirc is POSIX compliant" | |
| shellcheck bin/iex && echo "bin/iex is POSIX compliant" |