Skip to content

Commit bdd32b9

Browse files
committed
Add names to GitHub Actions workflow jobs
1 parent 706ec84 commit bdd32b9

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
nix:
1919
uses: ./.github/workflows/nix.yml
2020
all:
21+
name: CI success
2122
needs: [prechecks, nix]
2223
runs-on: ubuntu-latest
2324
steps:

.github/workflows/nix.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,20 @@ permissions: {}
1414

1515
jobs:
1616
nix-build:
17+
name: Check Nix flake
1718
runs-on: ubuntu-latest
1819
steps:
1920
# Install Nix on the runner
20-
- uses: cachix/install-nix-action@9280e7aca88deada44c930f1e2c78e21c3ae3edd # v31
21+
- uses: cachix/install-nix-action@9280e7aca88deada44c930f1e2c78e21c3ae3edd # v31
2122
with:
2223
nix_path: nixpkgs=channel:nixos-unstable
2324
# Pull from the cachix cache
24-
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
25+
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
2526
with:
2627
name: cclib
2728
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
2829
# Checkout of the current head in the working dir
29-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
30+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
3031
with:
3132
persist-credentials: false
3233
- name: Check nix flake

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ permissions: {}
1313

1414
jobs:
1515
pre-commit:
16+
name: Run pre-commit
1617
runs-on: ubuntu-latest
1718
steps:
18-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
19+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
1920
with:
2021
persist-credentials: false
21-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
22+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
2223
- name: install dependencies for sorting regressionfiles.yaml
2324
run: |
2425
python -m pip install 'ruamel.yaml'
25-
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
26+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

0 commit comments

Comments
 (0)