.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
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '17 12 * * 6'
|
||||
- cron: "17 12 * * 6"
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [1.17.x, 1.18.x]
|
||||
platform: [ubuntu-latest]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v3.0.0
|
||||
@@ -52,16 +51,12 @@ jobs:
|
||||
files: integration.coverprofile
|
||||
flags: integration
|
||||
lint:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [1.18.x]
|
||||
platform: [ubuntu-latest]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v3.0.0
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
go-version: 1.18.x
|
||||
check-latest: true
|
||||
- name: Configure Go Environment
|
||||
run: |
|
||||
|
||||
8
.github/workflows/thirdparty.yml
vendored
8
.github/workflows/thirdparty.yml
vendored
@@ -12,16 +12,12 @@ on:
|
||||
- "tests/thirdparty/**"
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [1.18.x]
|
||||
platform: [ubuntu-latest]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v3.0.0
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
go-version: 1.18.x
|
||||
check-latest: true
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||
|
||||
Reference in New Issue
Block a user