Skip to content

Commit 6fd1808

Browse files
committed
build: pin actions and use 24.04 LTS runner
1 parent 7f51704 commit 6fd1808

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/lint.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
11
name: test
2+
3+
# yamllint disable-line rule:truthy
24
on: push
35

46
jobs:
57
lint:
68
name: Lint files
7-
runs-on: ubuntu-22.04
9+
runs-on: ubuntu-24.04
810
steps:
911
- name: Checkout code
10-
uses: actions/checkout@v3
12+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1113

1214
- name: Run Super-Linter
13-
uses: docker://ghcr.io/github/super-linter:slim-v5
15+
uses: github/super-linter/slim@5119dcd8011e92182ce8219d9e9efc82f16fddb6 # v8.0.0
1416
env:
15-
DEFAULT_BRANCH: main
16-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
GITHUB_TOKEN: ${{ secrets.github_token }}
1718
LOG_LEVEL: NOTICE
1819
SUPPRESS_POSSUM: true
1920
VALIDATE_DOCKERFILE: false
2021
VALIDATE_DOCKERFILE_HADOLINT: false
2122
VALIDATE_GROOVY: false
2223

2324
- name: vint
24-
uses: reviewdog/action-vint@v1.10.0
25+
uses: reviewdog/action-vint@b249164f0c17d7a24aecccea84f2c7e132072731 # v1.17.2
2526
with:
2627
github_token: ${{ secrets.github_token }}
2728
reporter: github-pr-review

0 commit comments

Comments
 (0)