Skip to content

Commit b4dd777

Browse files
committed
prettier
1 parent b35770d commit b4dd777

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

.github/workflows/check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
name: Testing GitHub action
99
steps:
10-
- name: install-cpanm
11-
uses: perl-actions/install-cpanm@master
12-
- name: which cpanm
13-
run: which cpanm
10+
- name: install-cpanm
11+
uses: perl-actions/install-cpanm@master
12+
- name: which cpanm
13+
run: which cpanm

action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: 'install cpanm'
2-
description: 'install App::cpanminus'
1+
name: "install cpanm"
2+
description: "install App::cpanminus"
33
branding:
4-
icon: 'arrow-right'
5-
color: 'blue'
4+
icon: "arrow-right"
5+
color: "blue"
66
runs:
7-
using: 'node12'
8-
main: 'index.js'
7+
using: "node12"
8+
main: "index.js"

index.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
const core = require('@actions/core');
2-
const github = require('@actions/github');
3-
const tc = require('@actions/tool-cache');
4-
const exec = require('@actions/exec');
1+
const core = require("@actions/core");
2+
const github = require("@actions/github");
3+
const tc = require("@actions/tool-cache");
4+
const exec = require("@actions/exec");
55

66
async function action() {
7-
const cpanm = await tc.downloadTool('https://cpanmin.us');
7+
const cpanm = await tc.downloadTool("https://cpanmin.us");
88
core.setOutput("cpanminus", cpanm);
9-
await exec.exec( 'sudo', [ 'perl', cpanm, 'App::cpanminus'] );
9+
await exec.exec("sudo", ["perl", cpanm, "App::cpanminus"]);
1010
return;
1111
}
1212

1313
// Call action
14-
(async() => {
14+
(async () => {
1515
try {
16-
await action();
16+
await action();
1717
} catch (error) {
18-
core.setFailed(error.message);
18+
core.setFailed(error.message);
1919
}
2020
})();

0 commit comments

Comments
 (0)