From 568fc0b236fa8999cf3bdbf6293c914a27593ae7 Mon Sep 17 00:00:00 2001 From: Benedek Kozma Date: Fri, 20 Sep 2024 18:45:46 +0200 Subject: [PATCH] Fix tests --- .github/workflows/test.yml | 6 +++--- Package.resolved | 15 +++++++++++++++ package.json | 4 ++-- 3 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 Package.resolved diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 74e583c1..754b215e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,15 +11,15 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Run action without branch + - name: Run action with branch uses: ./ with: url: https://github.com/cpisciotta/xcbeautify - - name: Run action with branch + branch: main + - name: Run action with Package.resolved uses: ./ with: url: https://github.com/nicklockwood/SwiftFormat - branch: develop - name: Run action with version uses: ./ with: diff --git a/Package.resolved b/Package.resolved new file mode 100644 index 00000000..114794fe --- /dev/null +++ b/Package.resolved @@ -0,0 +1,15 @@ +{ + "originHash" : "955b42a5207f87a58d08a4e3ce4dd18d518cfb2dab57be80883bb1145cefb73c", + "pins" : [ + { + "identity" : "swiftformat", + "kind" : "remoteSourceControl", + "location" : "https://github.com/nicklockwood/SwiftFormat", + "state" : { + "revision" : "ab6844edb79a7b88dc6320e6cee0a0db7674dac3", + "version" : "0.54.5" + } + } + ], + "version" : 3 +} diff --git a/package.json b/package.json index b2aba4f4..b6aa0fdc 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "url": "github:Cyberbeni/install-swift-tool.git" }, "scripts": { - "format": "eslint --max-warnings=0 --fix src/**/*.ts", - "lint": "eslint src/**/*.ts", + "format": "eslint --max-warnings=0 --no-warn-ignored --fix src/**/*.ts", + "lint": "eslint --no-warn-ignored src/**/*.ts", "build": "tsc", "package": "ncc build --minify --out dist ./lib/main.js", "test": "jest"