Skip to content

Commit a017a3f

Browse files
committed
Swapped from Docker to composite.
1 parent 184c91c commit a017a3f

File tree

3 files changed

+14
-22
lines changed

3 files changed

+14
-22
lines changed

Dockerfile

-16
This file was deleted.

action.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ branding:
66
icon: 'check-circle'
77
color: 'green'
88

9+
inputs:
10+
source-dir:
11+
description: 'The folder containing the source files to format'
12+
required: true
13+
default: './'
14+
915
runs:
10-
using: 'docker'
11-
image: 'Dockerfile'
16+
using: 'composite'
17+
steps:
18+
- id: install-yapf
19+
run: pip install yapf
20+
shell: bash
21+
- id: invoke-yapf
22+
run: yapf --diff --recursive ${{ inputs.source-dir }} $*
23+
shell: bash

entrypoint.sh

-4
This file was deleted.

0 commit comments

Comments
 (0)