Skip to content

Commit 88d0f4c

Browse files
committed
miscellaneous cleanup items from upgrading to TypeScript action
Updates tailscale/corp#32821 Signed-off-by: Percy Wegmann <percy@tailscale.com>
1 parent 148ffe3 commit 88d0f4c

7 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2020

2121
- name: Setup Node.js
22-
uses: actions/setup-node@v4
22+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2323
with:
2424
node-version: '20'
2525
cache: 'npm'

.github/workflows/smoke-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323

2424
- name: Setup Node.js
25-
uses: actions/setup-node@v4
25+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2626
with:
2727
node-version: '20'
2828
cache: 'npm'
@@ -36,7 +36,7 @@ jobs:
3636
- name: Test Action Loading (No Auth)
3737
uses: ./
3838
with:
39-
version: "1.82.0"
39+
version: "latest"
4040
continue-on-error: true
4141
id: smoke-test
4242

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- os: ubuntu-latest
3434
runner-os: Linux
3535
arch: amd64
36-
version: 1.82.0
36+
# leave version blank to fall back to default
3737

3838
# Linux tests (ARM64)
3939
- os: ubuntu-24.04-arm
@@ -76,10 +76,10 @@ jobs:
7676

7777
steps:
7878
- name: Checkout
79-
uses: actions/checkout@v4
79+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8080

8181
- name: Setup Node.js
82-
uses: actions/setup-node@v4
82+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
8383
with:
8484
node-version: "20"
8585
cache: "npm"

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Lee Briggs, Tailscale Inc, & Contributors
22
# SPDX-License-Identifier: BSD-3-Clause
33

4-
name: 'Action Setup Tailscale'
4+
name: 'Connect Tailscale'
55
description: 'Connect your GitHub Action workflow to Tailscale'
66
branding:
77
icon: 'arrow-right-circle'
@@ -63,7 +63,7 @@ inputs:
6363
default: ''
6464

6565
runs:
66-
using: 'node20'
66+
using: 'node24'
6767
main: 'dist/index.js'
6868
post: 'dist/logout/index.js'
6969

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41307,7 +41307,7 @@ async function getInputs() {
4130741307
let ping = core.getInput("ping");
4130841308
let pingHosts = ping?.length > 0 ? ping.split(",") : [];
4130941309
return {
41310-
version: core.getInput("version") || "1.82.0",
41310+
version: core.getInput("version") || "1.88.3",
4131141311
resolvedVersion: "",
4131241312
arch: "",
4131341313
authKey: core.getInput("authkey") || "",

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"name": "action-tailscale",
3-
"version": "0.0.1",
4-
"description": "Install Tailscale and connect to a tailnet",
2+
"name": "github-action",
3+
"version": "4.0.0",
4+
"description": "Connect your GitHub Action workflow to Tailscale",
55
"main": "dist/main.js",
66
"scripts": {
77
"build": "ncc build src/main.ts -o dist && ncc build src/logout/logout.ts -o dist/logout"
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "git+https://github.com/jaxxstorm/action-setup-tailscale"
11+
"url": "git+https://github.com/tailscale/github-action"
1212
},
13-
"author": "Lee Briggs",
14-
"license": "Apache-2.0",
13+
"author": "Lee Briggs, Tailscale Inc, & Contributors",
14+
"license": "BSD-3-Clause",
1515
"dependencies": {
1616
"@actions/cache": "^4.0.0",
1717
"@actions/core": "^1.10.1",

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ async function getInputs(): Promise<TailscaleConfig> {
243243
let pingHosts = ping?.length > 0 ? ping.split(",") : [];
244244

245245
return {
246-
version: core.getInput("version") || "1.82.0",
246+
version: core.getInput("version") || "1.88.3",
247247
resolvedVersion: "",
248248
arch: "",
249249
authKey: core.getInput("authkey") || "",

0 commit comments

Comments
 (0)