mirror of
https://github.com/jordansissel/fpm
synced 2024-12-21 00:24:13 +01:00
c9a5cb4628
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
26 lines
576 B
YAML
26 lines
576 B
YAML
name: Ruby
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-22.04
|
|
strategy:
|
|
matrix:
|
|
ruby-version: ['2.7', '3.0', '3.1']
|
|
steps:
|
|
- run: |
|
|
sudo apt install -y libarchive-tools lintian cpanminus
|
|
- uses: actions/checkout@v3
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: ${{ matrix.ruby-version }}
|
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
- run: |
|
|
bundle exec rspec
|
|
env:
|
|
SHELL: /usr/bin/bash
|