File tree Expand file tree Collapse file tree 2 files changed +51
-44
lines changed Expand file tree Collapse file tree 2 files changed +51
-44
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: Apache-2.0
2+ # SPDX-FileCopyrightText: 2021 The Elixir Team
3+ # SPDX-FileCopyrightText: 2012 Plataformatec
4+
5+ name : POSIX Compliance
6+
7+ on :
8+ push :
9+ paths : &paths-filter
10+ - .github/workflows/posix_compliance.yml
11+ - bin/elixir
12+ - bin/elixirc
13+ - bin/iex
14+
15+ pull_request :
16+ paths : *paths-filter
17+
18+ workflow_dispatch :
19+
20+ permissions :
21+ contents : read
22+
23+ env :
24+ LANG : C.UTF-8
25+
26+ jobs :
27+ check_posix_compliance :
28+ name : Check POSIX compliance
29+ runs-on : ubuntu-latest
30+
31+ strategy :
32+ fail-fast : false
33+
34+ steps :
35+ - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
36+
37+ - name : Install ShellCheck
38+ run : |
39+ sudo apt update
40+ sudo apt install -y shellcheck
41+
42+ - name : Run ShellCheck on bin/ dir
43+ run : |
44+ shellcheck -e SC2039,2086 bin/elixir && \
45+ echo "bin/elixir is POSIX compliant"
46+
47+ shellcheck bin/elixirc && \
48+ echo "bin/elixirc is POSIX compliant"
49+
50+ shellcheck bin/iex && \
51+ echo "bin/iex is POSIX compliant"
You can’t perform that action at this time.
0 commit comments