Remove Ruby 2.7 from Github actions
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user