CI #1411
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: CI | |
on: | |
push: | |
branches-ignore: | |
- 'wip-*' | |
pull_request: | |
branches: | |
- 'master' | |
schedule: | |
- cron: '0 10 * * *' | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 'Install Ruby' | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' # Not needed with a .ruby-version file | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: 'Update gems' | |
run: | | |
command -v bundler || gem install bundler | |
bundle config path vendor/bundle | |
bundle install --jobs "$(getconf _NPROCESSORS_ONLN)" --retry 10 | |
- name: Run Tests | |
run: | | |
bundle exec awesome_bot \ | |
-w https://github.com/phalcon/awesome-phalcon/actions \ | |
-w https://gab.com/phalcon \ | |
-w https://twitter.com/phalconphp | |
-f README.md |