bump deps #22
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: | |
build: | |
runs-on: macos-latest | |
name: Ruby ${{ matrix.ruby }} | |
strategy: | |
matrix: | |
ruby: | |
- '2.7' # EOL: 2023-03-31 | |
- '3.0' # EOL: 2024-03-31 | |
- '3.1' # EOL: 2025-03-31 | |
- '3.2' # EOL: 2026-03-31 | |
- '3.3' # EOL: 2027-03-31 | |
# see supported ruby release schedule at https://www.ruby-lang.org/en/downloads/branches/ | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: getargv/getargv | |
path: getargv | |
token: ${{ secrets.GH_PAT }} | |
- name: Build libgetargv | |
run: make install_dylib | |
working-directory: getargv | |
- uses: actions/checkout@v4 | |
with: | |
path: getargv_ruby | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
working-directory: getargv_ruby | |
- name: Run the default task | |
run: bundle exec rake | |
working-directory: getargv_ruby |