Skip to content

Commit 630feda

Browse files
committed
fix(ci): update linter workflow and actions versions
Signed-off-by: Goetz Goerisch <g.goerisch@vdw.de>
1 parent ae7ec5f commit 630feda

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/linter.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
---
22
###########################
33
###########################
4-
## Linter GitHub Actions ##
4+
## Super-Linter Workflow ##
55
###########################
66
###########################
77
name: Lint Code Base
88

9-
#
10-
# Documentation:
11-
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
12-
#
13-
149
#############################
1510
# Start the job on all push #
1611
#############################
@@ -19,6 +14,8 @@ on:
1914
pull_request:
2015
branches: [main, develop]
2116

17+
permissions: read-all
18+
2219
###############
2320
# Set the Job #
2421
###############
@@ -27,7 +24,7 @@ jobs:
2724
# Name the Job
2825
name: Lint Code Base (super-linter)
2926
# Set the agent to run on
30-
runs-on: ubuntu-22.04
27+
runs-on: ubuntu-24.04
3128

3229
##################
3330
# Load all steps #
@@ -37,7 +34,7 @@ jobs:
3734
# Checkout the code base #
3835
##########################
3936
- name: Checkout Code
40-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
4138
with:
4239
# Full git history is needed to get a proper list
4340
# of changed files within `super-linter`
@@ -47,8 +44,9 @@ jobs:
4744
# Run Linter against code base #
4845
################################
4946
- name: Lint Code Base
50-
uses: super-linter/super-linter@v6.5.0
47+
uses: super-linter/super-linter@v7
5148
env:
5249
VALIDATE_ALL_CODEBASE: false
50+
VALIDATE_JSCPD: false
5351
DEFAULT_BRANCH: main
5452
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)