Skip to content

Commit

Permalink
chore(actions): tidies up workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanrayboss committed Jul 28, 2023
1 parent b39e8ad commit d7b905a
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<!--- Please describe in detail how you tested your changes. -->

## Checklist
## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
Expand Down
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
directory: "./github"
schedule:
interval: "weekly"
31 changes: 21 additions & 10 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,29 @@ on:
pull_request:

jobs:
lint:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: asdf-vm/actions/install@v2
- run: scripts/lint.bash
- name: Checkout code
uses: actions/checkout@v3

actionlint:
- name: Install asdf dependencies
uses: asdf-vm/actions/install@v2

- name: Run ShellCheck
run: scripts/shellcheck.bash

shellfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check workflow files
uses: docker://rhysd/actionlint:1.6.23
with:
args: -color
- name: Checkout code
uses: actions/checkout@v3

- name: Install asdf dependencies
uses: asdf-vm/actions/install@v2

- name: List file to shfmt
run: shfmt -f .

- name: Run shfmt
run: scripts/shfmt.bash
18 changes: 0 additions & 18 deletions .github/workflows/semantic-pr.yml

This file was deleted.

0 comments on commit d7b905a

Please sign in to comment.