Add base64 as a gem dependency since it's not part of default gems …
#52
This file contains hidden or 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: Tests | |
| on: | |
| push: | |
| branches: [ main, master, dev/github-actions ] | |
| paths-ignore: | |
| - '**.md' | |
| pull_request: | |
| paths-ignore: | |
| - '**.md' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read # to fetch code (actions/checkout) | |
| jobs: | |
| tests: | |
| name: >- | |
| OS ${{ matrix.os }}, Ruby ${{ matrix.ruby }} | |
| env: | |
| CI: true | |
| runs-on: ${{ matrix.os }} | |
| if: | | |
| !( contains(github.event.pull_request.title, '[ci skip]') | |
| || contains(github.event.pull_request.title, '[skip ci]')) | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ macos-latest, windows-latest ] | |
| ruby: [ 2.7, 3.2, 3.4 ] | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby-pkgs@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| timeout-minutes: 10 | |
| - name: Run rake | |
| timeout-minutes: 10 | |
| run: bundle exec rake ci |