Skip to content

Commit 24cbada

Browse files
committed
use separate check for code formatting
1 parent 9364f1f commit 24cbada

File tree

3 files changed

+13
-29
lines changed

3 files changed

+13
-29
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ on:
1010
workflow_dispatch:
1111

1212
jobs:
13+
code-formatting:
14+
runs-on: ubuntu-22.04
15+
name: Code Formatting
16+
steps:
17+
- name: Build test image
18+
id: docker-build-test
19+
uses: docker/build-push-action@v5
20+
with:
21+
target: test
22+
push: false
23+
load: true
24+
- name: Run formating check
25+
run: docker run -i ${{ steps.docker-build-test.outputs.imageid }} tidyall --all --check-only --no-cache
1326
docker:
1427
runs-on: ubuntu-22.04
1528
name: Docker

cpanfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ requires 'Code::TidyAll', '>= 0.74';
9797
requires 'Code::TidyAll::Plugin::Test::Vars', '0.04';
9898
requires 'Perl::Critic', '1.136';
9999
requires 'Perl::Tidy' => '20230909';
100-
requires 'Test::Code::TidyAll';
101100
requires 'Test::More', '0.96';
102101
requires 'Test::Needs';
103102
requires 'Test::Perl::Critic';

t/tidyall.t

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)