Skip to content

Commit c6fcbaf

Browse files
authored
Use local copy on action invocation (#236)
* Use local copy on action invocation Fixes #220 * Moving jobs with scripts into actions Publishing as an action bundles the directory contents with the action, so we can use helper scripts directly * Fix command to copy flake8 config file * fix uses * test failures
1 parent 2b7c740 commit c6fcbaf

16 files changed

Lines changed: 84 additions & 145 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-symlinks-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)