Skip to content

Commit 6d4f58a

Browse files
committed
Change project name to "arduino/setup-task"
Change project name to "arduino/setup-task" The Task documentation consistently refers to the tool as "Task". Taskfile is the term used for Task's configuration file. This action is setting up the Task tool, not setting up the Task configuration file, so "arduino/setup-task" is more appropriate than "arduino/setup-taskfile".
1 parent cdac335 commit 6d4f58a

15 files changed

+39
-39
lines changed

.github/ISSUE_TEMPLATE/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ contact_links:
22
- name: Learn about GitHub Actions
33
url: https://docs.github.com/en/actions
44
about: Everything you need to know to get started with GitHub Actions.
5-
- name: Learn about using the arduino/setup-taskfile action
6-
url: https://github.com/arduino/setup-taskfile#readme
5+
- name: Learn about using the arduino/setup-task action
6+
url: https://github.com/arduino/setup-task#readme
77
about: Detailed usage documentation is available here.
88
- name: Support request
99
url: https://forum.arduino.cc/

.github/workflows/check-action-metadata-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/actions/setup-taskfile@master
3131
with:
3232
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/check-markdown-task.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Initialize markdownlint-cli problem matcher
4242
uses: xt0rted/markdownlint-problem-matcher@v1
4343

44-
- name: Install Taskfile
44+
- name: Install Task
4545
uses: arduino/actions/setup-taskfile@master
4646
with:
4747
repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -57,7 +57,7 @@ jobs:
5757
- name: Checkout repository
5858
uses: actions/checkout@v2
5959

60-
- name: Install Taskfile
60+
- name: Install Task
6161
uses: arduino/actions/setup-taskfile@master
6262
with:
6363
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/check-typescript-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Checkout repository
4545
uses: actions/checkout@v2
4646

47-
- name: Install Taskfile
47+
- name: Install Task
4848
uses: arduino/actions/setup-taskfile@master
4949
with:
5050
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test-integration.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ jobs:
8282
uses: actions/checkout@v2
8383

8484
- name: Run action, using invalid version
85-
id: setup-taskfile
85+
id: setup-task
8686
continue-on-error: true
8787
uses: ./
8888
with:
8989
version: 2.42.x
9090

9191
- name: Fail the job if the action run succeeded
92-
if: steps.setup-taskfile.outcome == 'success'
92+
if: steps.setup-task.outcome == 'success'
9393
run: |
9494
echo "::error::The action run was expected to fail, but passed!"
9595
exit 1

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ See [step-debug-logs](https://github.com/actions/toolkit/blob/master/docs/action
6868

6969
Instructions for releasing a new version of the action:
7070

71-
1. If the release will increment the major version, update the action refs in the examples in README.md (e.g., `uses: arduino/setup-taskfile@v1` -> `uses: arduino/setup-taskfile@v2`).
71+
1. If the release will increment the major version, update the action refs in the examples in README.md (e.g., `uses: arduino/setup-task@v1` -> `uses: arduino/setup-task@v2`).
7272
1. Create a [GitHub release](https://docs.github.com/en/github/administering-a-repository/managing-releases-in-a-repository#creating-a-release), following the `vX.Y.Z` tag name convention. Make sure to follow [the SemVer specification](https://semver.org/).
7373
1. Rebase the release branch for that major version (e.g., `v1` branch for the `v1.x.x` tags) on the tag. If no branch exists for the release's major version, create one.

README.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# `arduino/setup-taskfile`
1+
# `arduino/setup-task`
22

3-
[![Check TypeScript status](https://github.com/arduino/setup-taskfile/actions/workflows/check-typescript-task.yml/badge.svg)](https://github.com/arduino/setup-taskfile/actions/workflows/check-typescript-task.yml)
4-
[![Check TypeScript Configuration status](https://github.com/arduino/setup-taskfile/actions/workflows/check-tsconfig.yml/badge.svg)](https://github.com/arduino/setup-taskfile/actions/workflows/check-tsconfig.yml)
5-
[![Check npm status](https://github.com/arduino/setup-taskfile/actions/workflows/check-npm.yml/badge.svg)](https://github.com/arduino/setup-taskfile/actions/workflows/check-npm.yml)
6-
[![Integration Tests status](https://github.com/arduino/setup-taskfile/actions/workflows/test-integration.yml/badge.svg)](https://github.com/arduino/setup-taskfile/actions/workflows/test-integration.yml)
7-
[![Check Action Metadata status](https://github.com/arduino/setup-taskfile/actions/workflows/check-action-metadata-task.yml/badge.svg)](https://github.com/arduino/setup-taskfile/actions/workflows/check-action-metadata-task.yml)
8-
[![Check Markdown status](https://github.com/arduino/setup-taskfile/actions/workflows/check-markdown-task.yml/badge.svg)](https://github.com/arduino/setup-taskfile/actions/workflows/check-markdown-task.yml)
9-
[![Spell Check status](https://github.com/arduino/setup-taskfile/actions/workflows/spell-check-task.yml/badge.svg)](https://github.com/arduino/setup-taskfile/actions/workflows/spell-check-task.yml)
10-
[![Check License status](https://github.com/arduino/setup-taskfile/actions/workflows/check-license.yml/badge.svg)](https://github.com/arduino/setup-taskfile/actions/workflows/check-license.yml)
3+
[![Check TypeScript status](https://github.com/arduino/setup-task/actions/workflows/check-typescript-task.yml/badge.svg)](https://github.com/arduino/setup-task/actions/workflows/check-typescript-task.yml)
4+
[![Check TypeScript Configuration status](https://github.com/arduino/setup-task/actions/workflows/check-tsconfig.yml/badge.svg)](https://github.com/arduino/setup-task/actions/workflows/check-tsconfig.yml)
5+
[![Check npm status](https://github.com/arduino/setup-task/actions/workflows/check-npm.yml/badge.svg)](https://github.com/arduino/setup-task/actions/workflows/check-npm.yml)
6+
[![Integration Tests status](https://github.com/arduino/setup-task/actions/workflows/test-integration.yml/badge.svg)](https://github.com/arduino/setup-task/actions/workflows/test-integration.yml)
7+
[![Check Action Metadata status](https://github.com/arduino/setup-task/actions/workflows/check-action-metadata-task.yml/badge.svg)](https://github.com/arduino/setup-task/actions/workflows/check-action-metadata-task.yml)
8+
[![Check Markdown status](https://github.com/arduino/setup-task/actions/workflows/check-markdown-task.yml/badge.svg)](https://github.com/arduino/setup-task/actions/workflows/check-markdown-task.yml)
9+
[![Spell Check status](https://github.com/arduino/setup-task/actions/workflows/spell-check-task.yml/badge.svg)](https://github.com/arduino/setup-task/actions/workflows/spell-check-task.yml)
10+
[![Check License status](https://github.com/arduino/setup-task/actions/workflows/check-license.yml/badge.svg)](https://github.com/arduino/setup-task/actions/workflows/check-license.yml)
1111

1212
A [GitHub Actions](https://docs.github.com/en/actions) action that makes the [Task](https://taskfile.dev/#/) task runner / build tool available to use in your workflow.
1313

@@ -32,32 +32,32 @@ It will be convenient to use [`${{ secrets.GITHUB_TOKEN }}`](https://docs.github
3232
To get the action's default version of Task just add this step:
3333

3434
```yaml
35-
- name: Install Taskfile
36-
uses: arduino/setup-taskfile@main
35+
- name: Install Task
36+
uses: arduino/setup-task@main
3737
```
3838
3939
If you want to pin a major or minor version you can use the `.x` wildcard:
4040

4141
```yaml
42-
- name: Install Taskfile
43-
uses: arduino/setup-taskfile@main
42+
- name: Install Task
43+
uses: arduino/setup-task@main
4444
with:
4545
version: '2.x'
4646
```
4747

4848
To pin the exact version:
4949

5050
```yaml
51-
- name: Install Taskfile
52-
uses: arduino/setup-taskfile@main
51+
- name: Install Task
52+
uses: arduino/setup-task@main
5353
with:
5454
version: '2.6.1'
5555
```
5656

5757
## Security
5858

5959
If you think you found a vulnerability or other security-related bug in this project, please read our
60-
[security policy](https://github.com/arduino/setup-taskfile/security/policy) and report the bug to our Security Team 🛡️
60+
[security policy](https://github.com/arduino/setup-task/security/policy) and report the bug to our Security Team 🛡️
6161
Thank you!
6262

6363
e-mail contact: [email protected]

__tests__/main.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) 2019 ARDUINO SA
22
//
33
// The software is released under the GNU General Public License, which covers the main body
4-
// of the arduino/setup-taskfile code. The terms of this license can be found at:
4+
// of the arduino/setup-task code. The terms of this license can be found at:
55
// https://www.gnu.org/licenses/gpl-3.0.en.html
66
//
77
// You can be released from the requirements of the above licenses by purchasing

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'Setup Task'
1+
name: 'arduino/setup-task'
22
description: 'Download Task and add it to the PATH'
33
author: 'Arduino'
44
inputs:

dist/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// Copyright (c) 2019 ARDUINO SA
1010
//
1111
// The software is released under the GNU General Public License, which covers the main body
12-
// of the arduino/setup-taskfile code. The terms of this license can be found at:
12+
// of the arduino/setup-task code. The terms of this license can be found at:
1313
// https://www.gnu.org/licenses/gpl-3.0.en.html
1414
//
1515
// You can be released from the requirements of the above licenses by purchasing
@@ -78,12 +78,12 @@ function fetchVersions(repoToken) {
7878
return __awaiter(this, void 0, void 0, function* () {
7979
let rest;
8080
if (repoToken !== "") {
81-
rest = new restm.RestClient("setup-taskfile", "", [], {
81+
rest = new restm.RestClient("setup-task", "", [], {
8282
headers: { Authorization: `Bearer ${repoToken}` }
8383
});
8484
}
8585
else {
86-
rest = new restm.RestClient("setup-taskfile");
86+
rest = new restm.RestClient("setup-task");
8787
}
8888
const tags = (yield rest.get("https://api.github.com/repos/go-task/task/git/refs/tags")).result || [];
8989
return tags
@@ -224,7 +224,7 @@ exports.getTask = getTask;
224224
// Copyright (c) 2019 ARDUINO SA
225225
//
226226
// The software is released under the GNU General Public License, which covers the main body
227-
// of the arduino/setup-taskfile code. The terms of this license can be found at:
227+
// of the arduino/setup-task code. The terms of this license can be found at:
228228
// https://www.gnu.org/licenses/gpl-3.0.en.html
229229
//
230230
// You can be released from the requirements of the above licenses by purchasing

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "setup-taskfile",
2+
"name": "setup-task",
33
"version": "0.0.0",
44
"private": true,
55
"description": "Setup Task action",
@@ -10,7 +10,7 @@
1010
},
1111
"repository": {
1212
"type": "git",
13-
"url": "git+https://github.com/arduino/setup-taskfile.git"
13+
"url": "git+https://github.com/arduino/setup-task.git"
1414
},
1515
"keywords": [
1616
"actions",

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.poetry]
2-
name = "setup-taskfile"
2+
name = "setup-task"
33
version = "0.0.0"
44
description = "GitHub Actions action to install Task"
55
authors = ["Arduino <[email protected]>"]

src/installer.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) 2019 ARDUINO SA
22
//
33
// The software is released under the GNU General Public License, which covers the main body
4-
// of the arduino/setup-taskfile code. The terms of this license can be found at:
4+
// of the arduino/setup-task code. The terms of this license can be found at:
55
// https://www.gnu.org/licenses/gpl-3.0.en.html
66
//
77
// You can be released from the requirements of the above licenses by purchasing
@@ -47,11 +47,11 @@ interface ITaskRef {
4747
async function fetchVersions(repoToken: string): Promise<string[]> {
4848
let rest: restm.RestClient;
4949
if (repoToken !== "") {
50-
rest = new restm.RestClient("setup-taskfile", "", [], {
50+
rest = new restm.RestClient("setup-task", "", [], {
5151
headers: { Authorization: `Bearer ${repoToken}` }
5252
});
5353
} else {
54-
rest = new restm.RestClient("setup-taskfile");
54+
rest = new restm.RestClient("setup-task");
5555
}
5656

5757
const tags: ITaskRef[] =

src/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) 2019 ARDUINO SA
22
//
33
// The software is released under the GNU General Public License, which covers the main body
4-
// of the arduino/setup-taskfile code. The terms of this license can be found at:
4+
// of the arduino/setup-task code. The terms of this license can be found at:
55
// https://www.gnu.org/licenses/gpl-3.0.en.html
66
//
77
// You can be released from the requirements of the above licenses by purchasing

0 commit comments

Comments
 (0)