-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"root": true, | ||
"env": { | ||
"browser": true, | ||
"es2020": true, | ||
"node": true | ||
}, | ||
"ignorePatterns": [ | ||
"node_modules", | ||
"build", | ||
"dist", | ||
"storybook-static" | ||
], | ||
"plugins": [ | ||
"react-refresh", | ||
"unused-imports", | ||
"prettier" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"extends": [ | ||
"@remix-run/eslint-config", | ||
"plugin:prettier/recommended", | ||
"eslint:recommended", | ||
"plugin:react-hooks/recommended" | ||
], | ||
"rules": { | ||
"unused-imports/no-unused-imports": "error", | ||
"react/jsx-sort-props": [ | ||
"error", | ||
{ | ||
"callbacksLast": true, | ||
"shorthandFirst": true, | ||
"ignoreCase": false, | ||
"reservedFirst": true | ||
} | ||
], | ||
"import/order": [ | ||
"error", | ||
{ | ||
"alphabetize": { | ||
"order": "asc", | ||
"caseInsensitive": true | ||
}, | ||
"newlines-between": "always", | ||
"groups": [ | ||
"builtin", | ||
"external", | ||
"index", | ||
"parent", | ||
[ | ||
"internal", | ||
"sibling" | ||
] | ||
] | ||
} | ||
], | ||
"comma-dangle": [ | ||
"error", | ||
"always-multiline" | ||
], | ||
"react-refresh/only-export-components": [ | ||
"warn", | ||
{ "allowConstantExport": true } | ||
] | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @sourcec0de |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## Description | ||
|
||
## Motivation and Context | ||
|
||
## Related Issues/PRs | ||
|
||
### Documentation Links |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# This workflow will build a golang project | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | ||
|
||
name: Go | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
|
||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
go: [stable] | ||
os: [ubuntu-latest] | ||
|
||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
|
||
- name: Install Go modules | ||
run: go mod download -x | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
run_install: false | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'pnpm' | ||
- name: Install Node Modules | ||
run: pnpm install | ||
|
||
- name: Generate | ||
run: go generate ./... | ||
|
||
- name: Build | ||
run: go build -v ./... | ||
|
||
- name: Test | ||
run: go test -v ./... | ||
env: | ||
SKIP_WATCHER_TESTS: 1 | ||
|
||
- name: Vet | ||
run: go vet ./... |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Deploy to GitHub Pages | ||
|
||
on: | ||
# Trigger the workflow every time you push to the `main` branch | ||
# Using a different branch name? Replace `main` with your branch’s name | ||
push: | ||
branches: [ main ] | ||
# Allows you to run this workflow manually from the Actions tab on GitHub. | ||
workflow_dispatch: | ||
|
||
# Allow this job to clone the repo and create a page deployment | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout your repository using git | ||
uses: actions/checkout@v4 | ||
- name: Install, build, and upload your site | ||
uses: withastro/action@v3 | ||
with: | ||
path: docs | ||
node-version: 20 | ||
package-manager: pnpm@latest | ||
|
||
deploy: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Binaries for programs and plugins | ||
*.exe | ||
*.exe~ | ||
*.dll | ||
*.so | ||
*.dylib | ||
|
||
# Test binary, built with `go test -c` | ||
*.test | ||
|
||
# Output of the go coverage tool, specifically when used with LiteIDE | ||
*.out | ||
|
||
# Dependency directories (remove the comment below to include it) | ||
vendor/ | ||
node_modules/ | ||
go.work* | ||
|
||
.DS_Store |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
run: | ||
concurrency: 4 | ||
timeout: 5m | ||
issues-exit-code: 2 | ||
tests: true | ||
skip-dirs: | ||
- 'vendor' | ||
- 'node_modules' | ||
- 'src/backend/lib/cdk8s/imports' | ||
modules-download-mode: readonly | ||
allow-parallel-runners: true | ||
|
||
linters: | ||
enable: | ||
- govet | ||
- staticcheck | ||
|
||
|
||
# allow underscores in package names | ||
package-regex: '^[\w-./]+(_[\w-./]+)*$' | ||
|
||
linters-settings: | ||
revive: | ||
rules: | ||
- name: var-naming | ||
|
||
exclude: | ||
- '*.gen.go' | ||
- 'src/backend/database/models/*.sql.go' | ||
- 'src/backend/database/models/*.gen.go' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.