Skip to content

Commit d26556b

Browse files
[Update]: run static analysis on Ubuntu 22.04
1 parent 4ac70bb commit d26556b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/static-analysis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ permissions:
99
jobs:
1010
static_analysis:
1111
runs-on: ubuntu-latest
12+
container:
13+
image: "ubuntu:22.04"
1214
steps:
1315
# Checkout opensource COBOL
1416
- name: Checkout opensource COBOL 4J
@@ -21,15 +23,15 @@ jobs:
2123

2224
- name: Install static analysis tools
2325
run: |
24-
sudo apt-get update -y
25-
sudo apt-get install -y clang-format cppcheck
26+
apt-get update -y
27+
apt-get install -y clang-format cppcheck
2628
2729
- name: Install opensource COBOL 4J
2830
run: |
29-
sudo apt-get install -y build-essential bison flex gettext texinfo autoconf
31+
apt-get install -y build-essential bison flex gettext texinfo autoconf
3032
./configure --prefix=/usr/
3133
make
32-
sudo make install
34+
make install
3335
3436
- name: Check format with google-java-format and clang-format
3537
run: |

0 commit comments

Comments
 (0)