From b3fc9fd96aebbac512c2b7d4baee8cb039730b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nico=20Schl=C3=B6mer?= Date: Fri, 28 Oct 2022 09:19:10 +0200 Subject: [PATCH 1/3] add pre-commit --- .pre-commit-config.yaml | 5 +++++ action.yml | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..407b0ef --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: + - repo: https://github.com/pre-commit/mirrors-prettier + rev: v3.0.0-alpha.0 + hooks: + - id: prettier diff --git a/action.yml b/action.yml index 6deedc4..86029f7 100644 --- a/action.yml +++ b/action.yml @@ -25,9 +25,9 @@ inputs: triggered a workflow, this defaults to the reference or SHA for that event. Otherwise, uses the default branch. required: false - default: '' + default: "" repository: - description: 'Repository name with owner. For example, actions/checkout' + description: "Repository name with owner. For example, actions/checkout" default: ${{ github.repository }} token: description: > @@ -81,13 +81,13 @@ runs: - name: Git LFS Pull run: | - git lfs pull --include "${{ inputs.include }}" --exclude "${{ inputs.exclude }}" - git submodule foreach git lfs pull --include "${{ inputs.include }}" --exclude "${{ inputs.exclude }}" + git lfs pull --include "${{ inputs.include }}" --exclude "${{ inputs.exclude }}" + git submodule foreach git lfs pull --include "${{ inputs.include }}" --exclude "${{ inputs.exclude }}" shell: bash # Don't leave behind temp files in case build system checks for dirty workspace - name: Cleanup Temp Files run: | - rm .lfs-assets-id-unsorted - rm .lfs-assets-id + rm .lfs-assets-id-unsorted + rm .lfs-assets-id shell: bash From aa69f6e22608a842530a08c76922193d65df3d13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nico=20Schl=C3=B6mer?= Date: Fri, 28 Oct 2022 09:19:50 +0200 Subject: [PATCH 2/3] update prettier --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 407b0ef..f5a095f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ repos: - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.0-alpha.0 + rev: v3.0.0-alpha.4 hooks: - id: prettier From 65ed224a4eaadec32e34465ac56d86d84a6cd8fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nico=20Schl=C3=B6mer?= Date: Fri, 28 Oct 2022 09:20:21 +0200 Subject: [PATCH 3/3] version bump --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index e8541d0..1e381f9 100644 --- a/justfile +++ b/justfile @@ -1,4 +1,4 @@ -version := "1.1.3" +version := "1.2.0" default: @echo "\"just publish\"?"