Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberbeni committed Sep 20, 2024
1 parent e25a17e commit 568fc0b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
15 changes: 15 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -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
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 568fc0b

Please sign in to comment.