When using zstd, use tar flags that are compatible with both gnu tar and bsdtar (#2009) #117
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: 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 |