Skip to content

Commit 7830a4d

Browse files
authored
Merge pull request #507 from arnested/fix-actions
fix actions
2 parents 7abf8e1 + a2953dc commit 7830a4d

File tree

7 files changed

+76
-9
lines changed

7 files changed

+76
-9
lines changed

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313

1414
jobs:
1515
dependency-review:
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-24.04
1717
steps:
1818
- name: 'Checkout Repository'
1919
uses: actions/checkout@v4
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
on: pull_request
3+
name: GitHub Actions
4+
5+
# Detect if this action is already running, and cancel it.
6+
# This most likely happened because a second push has been made to a branch.
7+
concurrency:
8+
group: ${{ github.repository_id }}-${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
permissions:
12+
contents: read
13+
pull-requests: write
14+
15+
jobs:
16+
actionlint:
17+
name: Actionlint
18+
runs-on: ubuntu-24.04
19+
steps:
20+
- uses: actions/checkout@v5
21+
- uses: reviewdog/action-actionlint@v1

.github/workflows/lint.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
---
22
name: Lint
3-
permissions:
4-
contents: read
53
on: pull_request
64
permissions:
75
contents: read
86

97
jobs:
108
yamllint:
119
name: yaml
12-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-24.04
1311
steps:
1412
- uses: actions/checkout@v4
1513
- name: Run yamllint
@@ -19,15 +17,15 @@ jobs:
1917

2018
markdownlint:
2119
name: markdown
22-
runs-on: ubuntu-22.04
20+
runs-on: ubuntu-24.04
2321
steps:
2422
- uses: actions/checkout@v4
2523
- name: Run markdownlint
2624
uses: DavidAnson/markdownlint-cli2-action@v20
2725

2826
actionlint:
2927
name: action
30-
runs-on: ubuntu-22.04
28+
runs-on: ubuntu-24.04
3129
steps:
3230
- uses: actions/checkout@v4
3331
- name: Run actionlint

.github/workflows/markdown.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Markdown
3+
on: pull_request
4+
5+
# Detect if this action is already running, and cancel it.
6+
# This most likely happened because a second push has been made to a branch.
7+
concurrency:
8+
group: ${{ github.repository_id }}-${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
permissions:
12+
contents: read
13+
pull-requests: write
14+
15+
jobs:
16+
markdown:
17+
name: Markdownlint
18+
runs-on: ubuntu-24.04
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Run markdownlint
22+
uses: DavidAnson/markdownlint-cli2-action@v20
23+
with:
24+
globs: |
25+
*.md
26+
docs/*.md

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
release:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313
permissions:
1414
contents: write
1515
steps:

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
build:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- uses: actions/checkout@v4
1616
with:
@@ -22,7 +22,7 @@ jobs:
2222
- run: |
2323
npm run all
2424
test:
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-24.04
2626
steps:
2727
- uses: actions/checkout@v4
2828
- run: |

.github/workflows/yaml.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
on: pull_request
3+
name: YAML
4+
permissions:
5+
contents: read
6+
7+
# Detect if this action is already running, and cancel it.
8+
# This most likely happened because a second push has been made to a branch.
9+
concurrency:
10+
group: ${{ github.repository_id }}-${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
yaml-cs-fixer:
15+
name: Yamllint
16+
runs-on: ubuntu-24.04
17+
steps:
18+
- uses: actions/checkout@v5
19+
- name: Run Yamllint
20+
uses: frenck/[email protected]
21+
with:
22+
strict: true

0 commit comments

Comments
 (0)