diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4beaac3..6bdb756 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,27 +1,22 @@ -name: Ruby - -on: - push: - branches: - - master - - pull_request: - +name: CI +on: [push, pull_request] jobs: - build: + tests: runs-on: ubuntu-latest name: Ruby ${{ matrix.ruby }} strategy: matrix: ruby: - - '3.1.2' + - "3.1.2" + - "3.2.1" + - "3.3.1" steps: - uses: actions/checkout@v3 - - name: Set up Ruby + - name: Install Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - - name: Run the default task - run: bundle exec rake + - name: Run tests + run: bin/test diff --git a/Gemfile.lock b/Gemfile.lock index 40a69e7..925eb94 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -61,6 +61,8 @@ GEM net-protocol nokogiri (1.14.0-arm64-darwin) racc (~> 1.4) + nokogiri (1.14.0-x86_64-linux) + racc (~> 1.4) public_suffix (5.0.1) racc (1.6.2) rack (2.2.5) @@ -93,6 +95,7 @@ GEM PLATFORMS arm64-darwin-21 + x86_64-linux DEPENDENCIES homographic_spoofing!