chore: upgrade Ruby 3.4, tooling and dependencies #117
This file contains hidden or 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: Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: # allows to be run manually | |
| workflow_call: # when called from another workflow | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@v7 | |
| - name: Cache installed Gems for the project | |
| uses: actions/cache@v5 | |
| with: | |
| path: vendor/bundle | |
| key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gems- | |
| - name: Build site | |
| run: make all_in_container | |
| - name: Save built site for deploy | |
| uses: actions/upload-pages-artifact@v5 | |
| with: | |
| path: _site | |
| retention-days: 7 |