Remove Ruby 2.7 from Github actions

This commit is contained in:
adfoster-r7
2023-06-30 14:10:07 +01:00
parent dfbd14ea5b
commit d968d92e53
4 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
fail-fast: true fail-fast: true
matrix: matrix:
ruby: ruby:
- '2.7' - '3.0'
name: Ruby ${{ matrix.ruby }} name: Ruby ${{ matrix.ruby }}
steps: steps:
+1 -1
View File
@@ -35,7 +35,7 @@ jobs:
fail-fast: true fail-fast: true
matrix: matrix:
ruby: ruby:
- '2.7' - '3.0'
name: Lint msftidy name: Lint msftidy
steps: steps:
-2
View File
@@ -64,7 +64,6 @@ jobs:
fail-fast: true fail-fast: true
matrix: matrix:
ruby: ruby:
- '2.7'
- '3.0' - '3.0'
- '3.1' - '3.1'
- '3.2' - '3.2'
@@ -73,7 +72,6 @@ jobs:
- ubuntu-20.04 - ubuntu-20.04
- ubuntu-latest - ubuntu-latest
exclude: exclude:
- { os: ubuntu-latest, ruby: '2.7' }
- { os: ubuntu-latest, ruby: '3.0' } - { os: ubuntu-latest, ruby: '3.0' }
include: include:
- os: ubuntu-latest - os: ubuntu-latest
+1 -1
View File
@@ -40,7 +40,7 @@ jobs:
const hasPR = await github.rest.pulls.list({ const hasPR = await github.rest.pulls.list({
owner, owner,
repo, repo,
head: owner + ':' + '${{ github.ref_name }}' head: owner + ':' + '${{ github.ref_name }}'
}); });
console.log('hasPR:'); console.log('hasPR:');
console.log(JSON.stringify({ data: hasPR.data, status: hasPR.status }, null, 4)); console.log(JSON.stringify({ data: hasPR.data, status: hasPR.status }, null, 4));