Fix content_security_policy_nonce to work without parameters for Rail… #371
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: Build + Test | |
| on: [pull_request, push] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build + Test | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| ruby: [ '2.7', '3.0', '3.1', '3.2', '3.4', '4.0' ] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Ruby ${{ matrix.ruby }} | |
| uses: ruby/setup-ruby@ac793fdd38cc468a4dd57246fa9d0e868aba9085 #v1.269.0 tag | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: Build and test with Rake | |
| run: | | |
| bundle exec rubocop | |
| bundle exec rspec spec |