Escape non ascii-characters while image downlading from wordpress #122
Workflow file for this run
This file contains 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: Continuous Integration | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
ci: | |
if: "!contains(github.event.commits[0].message, '[ci skip]')" | |
name: 'Ruby ${{ matrix.ruby_version }}' | |
runs-on: 'ubuntu-latest' | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby_version: | |
- "2.7" | |
- "3.0" | |
- "3.1" | |
- "3.2" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 5 | |
- name: "Set up Ruby ${{ matrix.ruby_version }}" | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby_version }} | |
bundler-cache: true | |
- name: Execute Unit tests | |
run: bundle exec rake test | |
style_check: | |
if: "!contains(github.event.commits[0].message, '[ci skip]')" | |
name: 'Code Style Check' | |
runs-on: 'ubuntu-latest' | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby_version: | |
- 2.7 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 5 | |
- name: "Set up Ruby ${{ matrix.ruby_version }}" | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby_version }} | |
bundler-cache: true | |
- name: Run RuboCop | |
run: bash script/fmt |