Properly handle non-unicode host locale #406
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: CI | |
on: | |
pull_request: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
ruby-version: | |
- "2.7" | |
- "3.0" | |
- "3.1" | |
- "3.2" | |
- "3.3" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: Configure Git email/username | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Danger.Systems" | |
- name: Linting | |
run: bundle exec rubocop | |
- name: Running Tests | |
run: bundle exec rake spec | |
- name: Running the Dangerfile for this repo | |
if: runner.os != 'Windows' | |
run: | | |
TOKEN='7469b4e94ce21b43e3ab7a' | |
TOKEN+='79960c12a1e067f2ec' | |
DANGER_GITHUB_API_TOKEN=$TOKEN RUNNING_IN_ACTIONS=true echo 'bundle exec danger --verbose' |