Sha256: e7f60a0422e9fea171c10e25caa9774ba44b2e3ecb62850e89cf909775ac9a17

Contents?: true

Size: 1.38 KB

Versions: 2

Compression:

Stored size: 1.38 KB

Contents

---
name: test
on:
  push:
    branches:
      - "*"
  pull_request:
    branches:
      - "*"
jobs:
  lint:
    name: RuboCop
    timeout-minutes: 30
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: "2.7"
        bundler-cache: true
    - name: Run RuboCop
      run: bundle exec rubocop
  test:
    strategy:
      fail-fast: false
      matrix:
        ruby:
          - 2.5
          - 2.6
          - 2.7
          - "3.0"
          - 3.1
        gemfile:
          - gemfiles/standalone.gemfile
          - gemfiles/openssl.gemfile
          - gemfiles/rbnacl.gemfile
        experimental: [false]
        include:
          - ruby: 2.7
            gemfile: 'gemfiles/rbnacl.gemfile'
          - ruby: "ruby-head"
            experimental: true
          - ruby: "truffleruby-head"
            experimental: true
    runs-on: ubuntu-20.04
    continue-on-error: ${{ matrix.experimental }}
    env:
      BUNDLE_GEMFILE: ${{ matrix.gemfile }}

    steps:
    - uses: actions/checkout@v2

    - name: Install libsodium
      run: |
        sudo apt-get update -q
        sudo apt-get install libsodium-dev -y

    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        bundler-cache: true

    - name: Run tests
      run: bundle exec rspec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jwt-2.4.0 .github/workflows/test.yml
jwt-2.4.0.beta1 .github/workflows/test.yml