build: Bumping slsa-github-generator version to resolve issue with re… #12
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 CI | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- '**.md' # Do not need to run CI for markdown changes. | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: | |
- '3.0' | |
- '3.1' | |
- '3.2' | |
- jruby-9.4 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # If you only need the current version keep this. | |
- uses: ./.github/actions/ci | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- uses: ./.github/actions/build-docs | |
if: ${{ !startsWith(matrix.ruby-version, 'jruby') }} | |
build-windows: | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: powershell | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run tests | |
run: bundle exec rspec spec |