Print QR code for webauthn verification link #6322
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: bundler | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
concurrency: | |
group: ci-${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
permissions: # added using https://github.com/step-security/secure-workflows | |
contents: read | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
bundler: | |
name: Bundler ${{ matrix.bundler.name }} on ${{ matrix.os.name }} (${{ matrix.ruby.name }}) | |
runs-on: ${{ matrix.os.value }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- { name: Ubuntu, value: ubuntu-22.04 } | |
ruby: | |
- { name: ruby-3.0, value: 3.0.6 } | |
- { name: ruby-3.1, value: 3.1.4 } | |
- { name: ruby-3.2, value: 3.2.2 } | |
- { name: ruby-3.3, value: 3.3.0 } | |
bundler: | |
- { name: 2, value: '' } | |
- { name: 3, value: 3.0.0 } | |
include: | |
- { os: { name: macOS, value: macos-13 }, bundler: { name: 2, value: '' }, ruby: { name: ruby-3.0, value: 3.0.6 }, timeout: 90 } | |
- { os: { name: macOS, value: macos-13 }, bundler: { name: 2, value: '' }, ruby: { name: ruby-3.1, value: 3.1.4 }, timeout: 90 } | |
- { os: { name: macOS, value: macos-13 }, bundler: { name: 2, value: '' }, ruby: { name: ruby-3.2, value: 3.2.2 }, timeout: 90 } | |
- { os: { name: macOS, value: macos-13 }, bundler: { name: 2, value: '' }, ruby: { name: ruby-3.3, value: 3.3.0 }, timeout: 90 } | |
- { os: { name: Windows, value: windows-2022 }, bundler: { name: 2, value: '' }, ruby: { name: ruby-3.0, value: 3.0.6 }, timeout: 150 } | |
- { os: { name: Windows, value: windows-2022 }, bundler: { name: 2, value: '' }, ruby: { name: ruby-3.1, value: 3.1.4 }, timeout: 150 } | |
- { os: { name: Windows, value: windows-2022 }, bundler: { name: 2, value: '' }, ruby: { name: ruby-3.2, value: 3.2.2 }, timeout: 150 } | |
env: | |
RGV: .. | |
RUBYOPT: --disable-gems | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Setup ruby | |
uses: ruby/setup-ruby@360dc864d5da99d54fcb8e9148c14a84b90d3e88 # v1.165.1 | |
with: | |
ruby-version: ${{ matrix.ruby.value }} | |
bundler: none | |
- name: Install graphviz (Ubuntu) | |
run: sudo apt-get install graphviz -y | |
if: matrix.bundler.value == '' && matrix.os.name == 'Ubuntu' | |
- name: Prepare dependencies | |
run: | | |
bin/rake spec:parallel_deps | |
- name: Replace version | |
run: BUNDLER_SPEC_SUB_VERSION=${{ matrix.bundler.value }} bin/rake override_version | |
if: matrix.bundler.value != '' | |
- name: Run Test | |
run: | | |
bin/parallel_rspec | |
working-directory: ./bundler | |
timeout-minutes: ${{ matrix.timeout || 60 }} |