Skip to content

Commit fdd0232

Browse files
authored
Merge pull request #240 from per1234/standard-workflow-names
Use standardized workflow/job/step names in workflows
2 parents aef6c00 + d723b9f commit fdd0232

7 files changed

+17
-17
lines changed

.github/workflows/check-code-generation-task.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323
- "etc/schemas/**/*.json"
2424

2525
jobs:
26-
test-go:
26+
check:
2727
runs-on: ubuntu-latest
2828

2929
steps:
@@ -35,7 +35,7 @@ jobs:
3535
with:
3636
go-version: ${{ env.GO_VERSION }}
3737

38-
- name: Install Taskfile
38+
- name: Install Task
3939
uses: arduino/setup-task@v1
4040
with:
4141
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish-go-nightly-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Checkout repository
2727
uses: actions/checkout@v2
2828

29-
- name: Install Taskfile
29+
- name: Install Task
3030
uses: arduino/setup-task@v1
3131
with:
3232
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish-go-tester-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
with:
3636
fetch-depth: 0
3737

38-
- name: Install Taskfile
38+
- name: Install Task
3939
uses: arduino/setup-task@v1
4040
with:
4141
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
case-insensitive-regex: true
3434
changelog-file-path: "${{ env.DIST_DIR }}/CHANGELOG.md"
3535

36-
- name: Install Taskfile
36+
- name: Install Task
3737
uses: arduino/setup-task@v1
3838
with:
3939
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test-go-integration-task.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ on:
3030
- "tests/**"
3131

3232
jobs:
33-
test-go:
33+
test:
3434
strategy:
3535
matrix:
3636
operating-system:
@@ -41,15 +41,15 @@ jobs:
4141
runs-on: ${{ matrix.operating-system }}
4242

4343
steps:
44-
- name: Checkout local repository
44+
- name: Checkout repository
4545
uses: actions/checkout@v2
4646

4747
- name: Install Go
4848
uses: actions/setup-go@v2
4949
with:
5050
go-version: ${{ env.GO_VERSION }}
5151

52-
- name: Install Taskfile
52+
- name: Install Task
5353
uses: arduino/setup-task@v1
5454
with:
5555
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test-go-task.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/test-go-task.md
2-
name: Run tests
2+
name: Test Go
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/v2#readme
@@ -24,7 +24,7 @@ on:
2424
- "**/testdata/**"
2525

2626
jobs:
27-
test-go:
27+
test:
2828
strategy:
2929
matrix:
3030
operating-system:
@@ -35,21 +35,21 @@ jobs:
3535
runs-on: ${{ matrix.operating-system }}
3636

3737
steps:
38-
- name: Checkout local repository
38+
- name: Checkout repository
3939
uses: actions/checkout@v2
4040

4141
- name: Install Go
4242
uses: actions/setup-go@v2
4343
with:
4444
go-version: ${{ env.GO_VERSION }}
4545

46-
- name: Install Taskfile
46+
- name: Install Task
4747
uses: arduino/setup-task@v1
4848
with:
4949
repo-token: ${{ secrets.GITHUB_TOKEN }}
5050
version: 3.x
5151

52-
- name: Run unit tests
52+
- name: Run tests
5353
run: task go:test
5454

5555
- name: Send unit tests coverage to Codecov

.github/workflows/test-install.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ${{ matrix.os }}
3434

3535
steps:
36-
- name: Checkout local repository
36+
- name: Checkout repository
3737
uses: actions/checkout@v2
3838

3939
- name: Run script with defaults
@@ -65,7 +65,7 @@ jobs:
6565
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
6666
echo "BINDIR=${{ runner.temp }}/custom-installation-folder" >> "$GITHUB_ENV"
6767
68-
- name: Checkout local repository
68+
- name: Checkout repository
6969
uses: actions/checkout@v2
7070

7171
- name: Run script with custom install location
@@ -95,7 +95,7 @@ jobs:
9595
VERSION: "1.0.0"
9696

9797
steps:
98-
- name: Checkout local repository
98+
- name: Checkout repository
9999
uses: actions/checkout@v2
100100

101101
- name: Run script with version argument
@@ -121,7 +121,7 @@ jobs:
121121
runs-on: ${{ matrix.os }}
122122

123123
steps:
124-
- name: Checkout local repository
124+
- name: Checkout repository
125125
uses: actions/checkout@v2
126126

127127
- name: Run script with nightly build version argument

0 commit comments

Comments
 (0)