Skip to content

Commit b73041c

Browse files
committed
Moving jobs with scripts into actions
Publishing as an action bundles the directory contents with the action, so we can use helper scripts directly
1 parent 8ea4b40 commit b73041c

16 files changed

Lines changed: 75 additions & 12 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: broken-symlink-check
2+
description: Check for broken symbolic links
3+
runs:
4+
using: composite
5+
steps:
6+
- name: Run broken symlink check
7+
shell: bash
8+
run: $GITHUB_ACTION_PATH/check-broken-symlinks.sh

.github/workflows/scripts/check-broken-symlinks.sh renamed to .github/actions/broken-symlink-check/check-broken-symlinks.sh

File renamed without changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: check-unacceptable-language
2+
description: Check Language Format
3+
runs:
4+
using: composite
5+
steps:
6+
- name: Run unacceptable language check
7+
shell: bash
8+
run: $GITHUB_ACTION_PATH/check-unacceptable-language.sh

.github/workflows/scripts/check-unacceptable-language.sh renamed to .github/actions/check-unacceptable-language/check-unacceptable-language.sh

File renamed without changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: docs-check
2+
description: Check Docs
3+
runs:
4+
using: composite
5+
steps:
6+
- name: Run docs check
7+
shell: bash
8+
run: $GITHUB_ACTION_PATH/check-docs.sh
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: format-check
2+
description: Check Swift Format
3+
runs:
4+
using: composite
5+
steps:
6+
- name: Run format check
7+
shell: bash
8+
run: $GITHUB_ACTION_PATH/check-swift-format.sh
File renamed without changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: license-header-check
2+
description: Check License Headers
3+
runs:
4+
using: composite
5+
steps:
6+
- name: Run license header check
7+
shell: bash
8+
run: $GITHUB_ACTION_PATH/check-license-header.sh

.github/workflows/scripts/check-license-header.sh renamed to .github/actions/license-header-check/check-license-header.sh

File renamed without changes.

0 commit comments

Comments
 (0)