release: 0.10.0 #274
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: build | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 10 | |
| env: | |
| BUNDLE_FROZEN: "true" | |
| steps: | |
| - name: Check out source | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0 | |
| with: | |
| bundler-cache: true | |
| ruby-version: "4.0" | |
| - name: Verify reproducible gem | |
| run: bundle exec ruby scripts/check_reproducible.rb | |
| lint: | |
| name: lint | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 10 | |
| env: | |
| BUNDLE_FROZEN: "true" | |
| steps: | |
| - name: Check out source | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0 | |
| with: | |
| bundler-cache: true | |
| ruby-version: "4.0" | |
| - name: Run lints | |
| run: ./scripts/lint | |
| - name: Audit dependencies | |
| run: bundle exec bundle-audit check --update | |
| test: | |
| name: test | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 10 | |
| env: | |
| BUNDLE_FROZEN: "true" | |
| steps: | |
| - name: Check out source | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0 | |
| with: | |
| bundler-cache: true | |
| ruby-version: "4.0" | |
| - name: Run tests | |
| run: ./scripts/test | |
| - name: Enforce Gold coverage | |
| run: bundle exec ruby scripts/coverage.rb | |
| license: | |
| name: license | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Check out source | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Verify REUSE compliance | |
| uses: fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6.0.0 |