Skip to content

Commit

Permalink
Merge pull request #881 from pankona/actionlint
Browse files Browse the repository at this point in the history
Integrate actionlint
  • Loading branch information
kachick authored Jun 22, 2023
2 parents 6102584 + f982a1b commit 7748ee0
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Lint GitHub Actions workflows
on:
push:
branches:
- master
paths:
- ".github/workflows/**"
pull_request:
paths:
- ".github/workflows/**"

jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash
- name: Check workflow files
run: ${{ steps.get_actionlint.outputs.executable }} -color
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
cache: "yarn"
cache-dependency-path: "hashira-web/yarn.lock"
- run: yarn install --frozen-lockfile
- run: VITE_REVISION="Rev ${{ github.sha }} Build at `date`" yarn build
- run: VITE_REVISION="Rev ${{ github.sha }} Build at $(date)" yarn build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
entryPoint: hashira-web
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
cache: "yarn"
cache-dependency-path: "hashira-web/yarn.lock"
- run: yarn install --frozen-lockfile
- run: VITE_REVISION="Rev ${{ github.event.pull_request.head.sha }} Build at `date`" yarn build
- run: VITE_REVISION="Rev ${{ github.event.pull_request.head.sha }} Build at $(date)" yarn build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
entryPoint: hashira-web
Expand Down

0 comments on commit 7748ee0

Please sign in to comment.