File tree Expand file tree Collapse file tree 2 files changed +44
-17
lines changed Expand file tree Collapse file tree 2 files changed +44
-17
lines changed 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 : CI
6+
7+ on :
8+ workflow_dispatch :
9+
10+ push :
11+ paths :
12+ - " .github/workflows/ci-posix-compliance.yml"
13+ - " bin/elixir"
14+ - " bin/elixirc"
15+ - " bin/iex"
16+
17+ pull_request :
18+ paths :
19+ - " .github/workflows/ci-posix-compliance.yml"
20+ - " bin/elixir"
21+ - " bin/elixirc"
22+ - " bin/iex"
23+
24+ env :
25+ LANG : C.UTF-8
26+
27+ permissions :
28+ contents : read
29+
30+ jobs :
31+ check_posix_compliance :
32+ name : Check POSIX compliance
33+ runs-on : ubuntu-24.04
34+ steps :
35+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
36+ - name : Install ShellCheck
37+ run : |
38+ sudo apt update
39+ sudo apt install -y shellcheck
40+ - name : Run ShellCheck on bin/ dir
41+ run : |
42+ shellcheck -e SC2039,2086 bin/elixir && echo "bin/elixir is POSIX compliant"
43+ shellcheck bin/elixirc && echo "bin/elixirc is POSIX compliant"
44+ shellcheck bin/iex && echo "bin/iex is POSIX compliant"
Original file line number Diff line number Diff line change @@ -133,23 +133,6 @@ jobs:
133133 Remove-Item 'c:/Windows/System32/drivers/etc/hosts'
134134 make test_elixir
135135
136- check_posix_compliant :
137- name : Check POSIX-compliant
138- runs-on : ubuntu-24.04
139- steps :
140- - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
141- with :
142- fetch-depth : 50
143- - name : Install Shellcheck
144- run : |
145- sudo apt update
146- sudo apt install -y shellcheck
147- - name : Check POSIX-compliant
148- run : |
149- shellcheck -e SC2039,2086 bin/elixir && echo "bin/elixir is POSIX compliant"
150- shellcheck bin/elixirc && echo "bin/elixirc is POSIX compliant"
151- shellcheck bin/iex && echo "bin/iex is POSIX compliant"
152-
153136 license_compliance :
154137 name : Check Licence Compliance
155138
You can’t perform that action at this time.
0 commit comments