Skip to content

Commit 21ca56c

Browse files
committed
Add appropriate names to steps of code QL jobs
When the `name` is not specified, the github UI uses the name of the first command as the step. This was misleading as it resulted in a 48 minute step titled "Run sudo apt-get update" which was also doing the build commands.
1 parent 3535b61 commit 21ca56c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/codeql-analysis.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,13 @@ jobs:
3737
# Prefix the list here with "+" to use these queries and those in the config file.
3838
# queries: ./path/to/local/query, your-org/your-repo/queries@main
3939

40-
- run: |
40+
- name: Install dependencies
41+
run: |
4142
sudo apt-get update
4243
sudo apt-get install --no-install-recommends -yq maven flex bison
44+
45+
- name: Build
46+
run: |
4347
make -C src minisat2-download
4448
make -C src -j2
4549
make -C unit -j2

0 commit comments

Comments
 (0)