Skip to content

fix(deps): use rack-reverse-proxy pact-foundation fork #283

fix(deps): use rack-reverse-proxy pact-foundation fork

fix(deps): use rack-reverse-proxy pact-foundation fork #283

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ruby/[email protected]
with:
ruby-version: 3.3.5
- name: Set up environment
run: bundle install
- name: Build
run: bundle exec rake package
- name: Show standalone packages
run: ls pkg
- name: Upload standalone packages
uses: actions/upload-artifact@v4
with:
name: pkg
path: pkg
test:
defaults:
run:
shell: ${{ matrix.shell }}
needs: [build]
strategy:
fail-fast: false
matrix:
os: ["windows-latest","ubuntu-latest","macos-latest"]
shell: ["sh","bash"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Download all workflow run artifacts
uses: actions/download-artifact@v4
- name: test ${{ matrix.os }} package
run: ./script/unpack-and-test.sh
- name: test x86 package
if: ${{ runner.os == 'Windows'}}
run: ./script/unpack-and-test.sh
env:
BINARY_OS: 'windows'
BINARY_ARCH: 'x86'