Skip to content

Commit

Permalink
feat: add actions
Browse files Browse the repository at this point in the history
Signed-off-by: Xinwei Xiong <[email protected]>
  • Loading branch information
cubxxw committed Oct 24, 2024
1 parent edb4703 commit 8120dc1
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 167 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CONTIRIBUTING
# CONTRIBUTING

We expect as many developers as possible to contribute, which is the motivation for our efforts to maintain the community

Expand Down
91 changes: 0 additions & 91 deletions .github/sync.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/go-typecheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Go Typecheck Workflow Test

on: [push, pull_request]

jobs:
comment-language-detector:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Code Typecheck Detector
uses: kubecub/typecheck@main
27 changes: 0 additions & 27 deletions .github/workflows/gpt-translate.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/spell-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Check spelling of md
uses: crate-ci/typos@master
with:
files:
./CONTIRIBUTING.md
./CONTRIBUTING.md
./README.md

- name: Use custom config file
Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/sync.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:

- name: Test build artifacts
run: |
# Add your tests here to check the build artifacts
make test
5 changes: 3 additions & 2 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Check for typos
uses: codespell-project/actions-codespell@master
uses: codespell-project/actions-codespell@v2
with:
check_filenames: true
skip: .git,*.png,*.jpg
ignore_words_file: .github/workflows/codespell_ignore_words.txt
exclude_file: docs/CODEOWNERS
paths: ./CONTRIBUTING.md ./README.md

0 comments on commit 8120dc1

Please sign in to comment.