Skip to content

Commit 724d0b8

Browse files
Update GitHub Actions workflows to improve formatting and disable prettier validation for specific file types
1 parent 7868d08 commit 724d0b8

File tree

2 files changed

+48
-45
lines changed

2 files changed

+48
-45
lines changed

.github/workflows/Action-Test.yml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
1-
name: Action-Test
2-
3-
run-name: "Action-Test - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"
4-
5-
on:
6-
workflow_dispatch:
7-
pull_request:
8-
schedule:
9-
- cron: '0 0 * * *'
10-
11-
env:
12-
GH_TOKEN: ${{ github.token }}
13-
14-
concurrency:
15-
group: ${{ github.workflow }}-${{ github.ref }}
16-
cancel-in-progress: true
17-
18-
permissions: {}
19-
20-
jobs:
21-
ActionTestDefault:
22-
name: Action-Test - [Default]
23-
runs-on: ubuntu-latest
24-
steps:
25-
- name: Checkout repo
26-
uses: actions/checkout@v4
27-
28-
- name: Initialize environment
29-
uses: PSModule/Initialize-PSModule@main
30-
31-
- name: Upload module artifact
32-
uses: actions/upload-artifact@v4
33-
with:
34-
name: module
35-
path: tests/outputs/modules
36-
if-no-files-found: error
37-
retention-days: 1
38-
39-
- name: Action-Test
40-
uses: ./
41-
with:
42-
Name: PSModuleTest
43-
Path: tests/src
44-
ModulesOutputPath: tests/outputs/modules
45-
DocsOutputPath: tests/outputs/docs
1+
name: Action-Test
2+
3+
run-name: "Action-Test - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"
4+
5+
on:
6+
workflow_dispatch:
7+
pull_request:
8+
schedule:
9+
- cron: '0 0 * * *'
10+
11+
env:
12+
GH_TOKEN: ${{ github.token }}
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
18+
permissions: {}
19+
20+
jobs:
21+
ActionTestDefault:
22+
name: Action-Test - [Default]
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout repo
26+
uses: actions/checkout@v4
27+
28+
- name: Initialize environment
29+
uses: PSModule/Initialize-PSModule@main
30+
31+
- name: Upload module artifact
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: module
35+
path: tests/outputs/modules
36+
if-no-files-found: error
37+
retention-days: 1
38+
39+
- name: Action-Test
40+
uses: ./
41+
with:
42+
Name: PSModuleTest
43+
Path: tests/src
44+
ModulesOutputPath: tests/outputs/modules
45+
DocsOutputPath: tests/outputs/docs

.github/workflows/Linter.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ jobs:
2727
uses: super-linter/super-linter/slim@latest
2828
env:
2929
GITHUB_TOKEN: ${{ github.token }}
30+
VALIDATE_MARKDOWN_PRETTIER: false
31+
VALIDATE_JSON_PRETTIER: false
32+
VALIDATE_YAML_PRETTIER: false

0 commit comments

Comments
 (0)