Skip to content

Commit

Permalink
chore: cleanup (#178)
Browse files Browse the repository at this point in the history
* chore: cleanup

* chore: update workflows

* chore: update readme

* fix: eslint deps
  • Loading branch information
killbasa authored Nov 2, 2023
1 parent 3f24db6 commit 1ffd5ff
Show file tree
Hide file tree
Showing 116 changed files with 5,052 additions and 14,114 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/bot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4.0.0

- name: Setup Docker
uses: docker/setup-buildx-action@v2.7.0
uses: docker/setup-buildx-action@v3.0.0

- name: Login to GitHub Container Registry
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.0.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v4.1.1
uses: docker/build-push-action@v5.0.0
with:
push: true
file: ./apps/bot/Dockerfile
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/bot-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4.0.0

- name: Set up Buf
uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ github.token }}

- name: Set up NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.0
with:
node-version: 20
cache: yarn
Expand All @@ -42,8 +42,3 @@ jobs:

- name: Run tests
run: yarn turbo test --filter=@kbotdev/bot

- name: Upload test coverage reports
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4.0.0

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
42 changes: 0 additions & 42 deletions .github/workflows/discord-status-build.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/discord-status-ci.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4.0.0

- name: Set up NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.0
with:
node-version: 20
cache: yarn
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4.0.0
with:
fetch-depth: 0

- name: Set up NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.0
with:
node-version: 20
cache: yarn
Expand All @@ -46,7 +46,7 @@ jobs:
uses: actions/configure-pages@v3

- name: Upload build
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
with:
path: apps/docs/docs/.vitepress/dist

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proto-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4.0.0

- name: Buf setup
uses: bufbuild/buf-setup-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/proto-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4.0.0

- name: Buf setup
uses: bufbuild/buf-setup-action@v1
Expand All @@ -35,7 +35,7 @@ jobs:

- name: Detect changes
id: detect-change
uses: tj-actions/changed-files@v36
uses: tj-actions/changed-files@v40
with:
files: protos/${{ matrix.module }}/**

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/web-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4.0.0

- name: Setup Docker
uses: docker/setup-buildx-action@v2.7.0
uses: docker/setup-buildx-action@v3.0.0

- name: Login to GitHub Container Registry
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.0.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v4.1.1
uses: docker/build-push-action@v5.0.0
with:
push: true
file: ./apps/web/Dockerfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/web-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4.0.0

- name: Set up Buf
uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ github.token }}

- name: Set up NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.0
with:
node-version: 20
cache: yarn
Expand Down
18 changes: 0 additions & 18 deletions .vscode/launch.json

This file was deleted.

7 changes: 4 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
"eslint.format.enable": true,
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"eslint.validate": ["javascript", "typescript", "svelte"],
"[svelte]": {
"editor.defaultFormatter": "svelte.svelte-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
Expand All @@ -14,8 +18,5 @@
},
"[prisma]": {
"editor.defaultFormatter": "Prisma.prisma"
},
"[go]": {
"editor.defaultFormatter": "golang.go"
}
}
Loading

0 comments on commit 1ffd5ff

Please sign in to comment.