.github: remove unnecessary matrix parameters (#275)
Remove GitHub Actions job matrix parameters which only have one option. These parameters clutter the action names.
This commit is contained in:
committed by
GitHub
parent
9aff8ef21e
commit
a746f32c01
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -7,14 +7,13 @@ on:
|
|||||||
- master
|
- master
|
||||||
pull_request:
|
pull_request:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '17 12 * * 6'
|
- cron: "17 12 * * 6"
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version: [1.17.x, 1.18.x]
|
go-version: [1.17.x, 1.18.x]
|
||||||
platform: [ubuntu-latest]
|
runs-on: ubuntu-latest
|
||||||
runs-on: ${{ matrix.platform }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v3.0.0
|
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v3.0.0
|
||||||
@@ -52,16 +51,12 @@ jobs:
|
|||||||
files: integration.coverprofile
|
files: integration.coverprofile
|
||||||
flags: integration
|
flags: integration
|
||||||
lint:
|
lint:
|
||||||
strategy:
|
runs-on: ubuntu-latest
|
||||||
matrix:
|
|
||||||
go-version: [1.18.x]
|
|
||||||
platform: [ubuntu-latest]
|
|
||||||
runs-on: ${{ matrix.platform }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v3.0.0
|
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v3.0.0
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: 1.18.x
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- name: Configure Go Environment
|
- name: Configure Go Environment
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
8
.github/workflows/thirdparty.yml
vendored
8
.github/workflows/thirdparty.yml
vendored
@@ -12,16 +12,12 @@ on:
|
|||||||
- "tests/thirdparty/**"
|
- "tests/thirdparty/**"
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
strategy:
|
runs-on: ubuntu-latest
|
||||||
matrix:
|
|
||||||
go-version: [1.18.x]
|
|
||||||
platform: [ubuntu-latest]
|
|
||||||
runs-on: ${{ matrix.platform }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v3.0.0
|
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v3.0.0
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: 1.18.x
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||||
|
|||||||
Reference in New Issue
Block a user