Bump actions/checkout from 1 to 4 #537
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test PRs | |
on: [pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: Install and build | |
run: | | |
npm install | |
npx honkit build | |
- name: Cache bundled gems | |
uses: actions/cache@v1 | |
with: | |
path: vendor/bundle | |
# We'd normally use Gemfile.lock, but nonexistent here. | |
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile') }} | |
restore-keys: | | |
${{ runner.os }}-gem- |