Skip to content

Commit

Permalink
CI: YAML formatting + Job name (#522)
Browse files Browse the repository at this point in the history
The array-style does not pass GitHub Actions' linting. That form needs to be placed on a single line to have 0 lint warnings.

Also: add a name for the Job, which makes the output a little less cryptic.
  • Loading branch information
olleolleolle authored Dec 2, 2021
1 parent b94394b commit 9553f12
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
test:
name: Ruby test
name: Ruby ${{ matrix.ruby }} (${{ matrix.gemfile }})
runs-on: ubuntu-20.04
continue-on-error: ${{ matrix.experimental }}
env:
Expand All @@ -14,82 +14,82 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [
2.2.10,
2.3.8,
2.4.10,
2.5.8,
2.6.6,
2.7.1,
3.0.0
]
gemfile: [
"rails_5_0",
"rails_5_1",
"rails_5_2",
"rails_6_0",
"rails_6_1",
"rails_head"
]
ruby:
- "2.2"
- "2.3"
- "2.4"
- "2.5"
- "2.6"
- "2.7"
- "3.0"

gemfile:
- "rails_5_0"
- "rails_5_1"
- "rails_5_2"
- "rails_6_0"
- "rails_6_1"
- "rails_head"

experimental: [false]
exclude:
- ruby: 2.7.1
- ruby: 2.7
gemfile: rails_5_0
- ruby: 3.0.0
- ruby: '3.0'
gemfile: rails_5_0
- ruby: head
gemfile: rails_5_0
- ruby: 2.7.1
- ruby: 2.7
gemfile: rails_5_1
- ruby: 3.0.0
- ruby: '3.0'
gemfile: rails_5_1
- ruby: head
gemfile: rails_5_1
- ruby: 2.2.10
- ruby: 2.2
gemfile: rails_5_2
- ruby: 2.7.1
- ruby: 2.7
gemfile: rails_5_2
- ruby: 3.0.0
- ruby: '3.0'
gemfile: rails_5_2
- ruby: head
gemfile: rails_5_2
- ruby: 2.2.10
- ruby: 2.2
gemfile: rails_6_0
- ruby: 2.3.8
- ruby: 2.3
gemfile: rails_6_0
- ruby: 2.4.10
- ruby: 2.4
gemfile: rails_6_0
- ruby: 3.0.0
- ruby: '3.0'
gemfile: rails_6_0
- ruby: head
gemfile: rails_6_0
- ruby: 2.2.10
- ruby: 2.2
gemfile: rails_6_1
- ruby: 2.3.8
- ruby: 2.3
gemfile: rails_6_1
- ruby: 2.4.10
- ruby: 2.4
gemfile: rails_6_1
- ruby: 2.2.10
- ruby: 2.2
gemfile: rails_head
- ruby: 2.3.8
- ruby: 2.3
gemfile: rails_head
- ruby: 2.4.10
- ruby: 2.4
gemfile: rails_head
- ruby: 2.5.8
- ruby: 2.5
gemfile: rails_head
- ruby: 2.6.6
- ruby: 2.6
gemfile: rails_head
- ruby: 2.7.1
- ruby: 2.7
gemfile: rails_head
experimental: false
- ruby: 3.0.0
- ruby: '3.0'
gemfile: rails_head
experimental: false
include:
- ruby: 2.7.1
- ruby: 2.7
gemfile: rails_head
experimental: true
- ruby: 3.0.0
- ruby: '3.0'
gemfile: rails_head
experimental: true
- ruby: head
Expand Down

0 comments on commit 9553f12

Please sign in to comment.