Add RUBY_BUILD_TARBALL_OVERRIDE to override the ruby tarball URL #718
Workflow file for this run
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: Test | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install bats | |
run: git clone --depth 1 https://github.com/sstephenson/bats.git | |
- name: Run tests | |
run: PATH="./bats/bin:$PATH" script/test | |
- name: Verify download URL checksums | |
if: github.event_name == 'pull_request' | |
run: ./script/mirror verify "$COMMIT_RANGE" | |
env: | |
COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}.. |