Skip to content

Commit

Permalink
Add lint CI step, enable bundle cache
Browse files Browse the repository at this point in the history
  • Loading branch information
danyeaw committed Jan 12, 2025
1 parent 2cdb291 commit 5ea2f32
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ jobs:
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
with:
egress-policy: audit

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Lint with Pre-commit
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
- name: Install Linux Dependencies
run: >
sudo apt-get update -qq && sudo apt-get install -qq --no-install-recommends po4a
Expand All @@ -35,6 +36,7 @@ jobs:
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4 # v1.207.0
with:
ruby-version: 3.3.4
bundler-cache: true
- name: Build Pages
run: |
bundle install
Expand All @@ -45,7 +47,7 @@ jobs:
--disable-external true
--enforce-https false
--allow-missing-href true
--check-internal-hash false
--check-internal-hash false
--checks Links ./_site
- name: Deploy
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
Expand Down

0 comments on commit 5ea2f32

Please sign in to comment.