Skip to content

set a global GH user on CI #4

set a global GH user on CI

set a global GH user on CI #4

Workflow file for this run

name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ['3.1', '3.2', '3.3', '3.4']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Configure git user name, email
run: |
git config --global user.name $NAME
git config --global user.email $EMAIL
env:
NAME: "George Costanza"
EMAIL: "[email protected]"
- name: Run tests
run: bundle exec rake test