Skip to content

Bump ruby/setup-ruby from 1.177.1 to 1.178.0 #126

Bump ruby/setup-ruby from 1.177.1 to 1.178.0

Bump ruby/setup-ruby from 1.177.1 to 1.178.0 #126

Workflow file for this run

name: cooljeanius/linguist
on:
push:
branches:
- "**/*"
pull_request:
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1.178.0
with:
ruby-version: "${{ matrix.rvm }}"
- run: sudo apt-get update
- run: sudo apt-get install libicu-dev icu-doc file libmagic-dev libmagic1 libfile-libmagic-perl pkg-config ruby-pkg-config -y
- run: if test -x "$(which icu-config)"; then ICU_LDFLAGS="$(icu-config --ldflags)"; else ICU_LDFLAGS="$(pkg-config --libs icu-i18n icu-io icu-uc)"; fi; export ICU_LDFLAGS; ZLIB_LDFLAGS="$(pkg-config --libs zlib)"; export ZLIB_LDFLAGS; export LDFLAGS="${LDFLAGS} ${ICU_LDFLAGS} ${ZLIB_LDFLAGS}"
- run: env | uniq | sort | uniq
- run: if test -x "$(which bundle)"; then echo "using $(which bundle)"; else gem install bundler; fi
- run: bundle install --jobs=3 --retry=3
- run: rake --trace --backtrace --job-stats --rules --verbose || ruby -cwv Rakefile || ruby -c Rakefile
- run: if test -e Rakefile; then cat Rakefile; fi; sleep 1
if: "${{ failure() }}"
# # This item has no matching transformer
# - disabled: true
strategy:
matrix:
rvm:
- 2.6.0
- 2.6.10
- 2.7.0
- 2.7.8