[ZFM-1194] Run against multiple ruby versions and update few GithubActions #22
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: Run Bundler Audit | |
on: | |
pull_request: | |
jobs: | |
run-bundler_audit: | |
name: Run bundler audit | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: ["3.0", "3.1", "3.2"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: Install bundle audit | |
run: gem install bundle-audit | |
- name: Update Ruby Advisory Database | |
run: bundle-audit update | |
- name: Run audit | |
run: bundle audit |