*: update theme #4
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: Generate Gemfile.lock | |
on: | |
push: | |
paths: | |
- Gemfile | |
jobs: | |
generate-lockfile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
bundler-cache: true | |
- name: Debug bundler environment | |
run: | | |
ruby -v | |
bundler -v | |
gem env | |
gem list | |
- name: Install dependencies | |
run: bundle install --jobs 4 --retry 3 | |
env: | |
BUNDLE_PATH: vendor/bundle | |
- name: Commit and push Gemfile.lock | |
run: | | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git add Gemfile.lock | |
git commit -m "Add Gemfile.lock (generated by GitHub Actions)" | |
git push | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |