Skip to content

Commit

Permalink
feat: add actionlint (#89)
Browse files Browse the repository at this point in the history
* Update checkout and python actions

* add actionlint from mathlib
  • Loading branch information
adomani authored Aug 2, 2024
1 parent 1dd2183 commit 2654ea3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Actionlint
on:
push:
branches:
- 'master'
paths:
- '.github/**'
pull_request:
paths:
- '.github/**'
merge_group:

jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: actionlint
uses: raven-actions/actionlint@v1
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ jobs:
name: Build HTML
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: install Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12

- name: install Python dependencies
run: python -m pip install -r requirements.txt

- name: build site
run: ./deploy.sh
run: ./deploy.sh
env:
git_hash: ${{ github.sha }}
DEPLOY_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 2654ea3

Please sign in to comment.