Skip to content

Commit

Permalink
Merge pull request #63 from smorimoto/revamp
Browse files Browse the repository at this point in the history
Revamp
  • Loading branch information
jsierles authored Aug 2, 2024
2 parents 21d9a11 + 23f9fae commit 8664a33
Show file tree
Hide file tree
Showing 14 changed files with 29,644 additions and 5,880 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Default behaviour, for if core.autocrlf isn't set
* text=auto

# the linguist-vendored/linguist-generated attribute suppresses changes being
# displayed by default in pull requests.
/setup-flyctl/dist/*.js -diff linguist-generated
/setup-flyctl/dist/*.txt -diff linguist-generated
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
- package-ecosystem: npm
directories:
- setup-flyctl
schedule:
interval: daily
41 changes: 41 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,50 @@ on:
permissions: read-all

jobs:
hygiene:
name: Hygiene

strategy:
fail-fast: false
matrix:
action:
- setup-flyctl

defaults:
run:
working-directory: ${{ matrix.action }}

runs-on: ubuntu-latest

steps:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*

- run: corepack enable

- run: pnpm install --frozen-lockfile

- if: always()
run: pnpm lint

- if: always()
run: pnpm typecheck

- name: Ensure dist directory is up-to-date
if: always()
run: pnpm build && git diff --exit-code --ignore-cr-at-eol

test-multi-platform-builds:
name: Test multi-platform builds

needs:
- hygiene

strategy:
fail-fast: false
matrix:
Expand Down
3 changes: 1 addition & 2 deletions setup-flyctl/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
*.log
node_modules
/node_modules/
7 changes: 0 additions & 7 deletions setup-flyctl/.prettierrc.js

This file was deleted.

24 changes: 24 additions & 0 deletions setup-flyctl/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"$schema": "node_modules/@biomejs/biome/configuration_schema.json",
"files": {
"ignore": ["package.json", "dist"]
},
"formatter": {
"enabled": true,
"indentStyle": "space"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"organizeImports": {
"enabled": true
},
"vcs": {
"clientKind": "git",
"enabled": true,
"useIgnoreFile": true
}
}
175 changes: 175 additions & 0 deletions setup-flyctl/dist/LICENSE.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8664a33

Please sign in to comment.