Skip to content

Bump ruby/setup-ruby from 1.301.0 to 1.302.0 #901

Bump ruby/setup-ruby from 1.301.0 to 1.302.0

Bump ruby/setup-ruby from 1.301.0 to 1.302.0 #901

Workflow file for this run

name: CI
on:
pull_request:
push:
schedule:
- cron: '0 0 * * 0'
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ruby/setup-ruby@7372622e62b60b3cb750dcd2b9e32c247ffec26a # v1.302.0
with:
bundler-cache: true
ruby-version: "2.7.2"
- run: gem install bundler:1.17.3
- run: bundle install
- run: bundle exec middleman build
- if: ${{ github.repository_owner == 'scalikejdbc' && github.ref == 'refs/heads/develop' && github.event_name == 'push' }}
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: master
FOLDER: ./build
CLEAN: true