Skip to content

Commit

Permalink
stop
Browse files Browse the repository at this point in the history
  • Loading branch information
tosuke committed Dec 17, 2024
1 parent e128ca5 commit 47619fb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 67 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/backend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,6 @@ jobs:
run: |
find . -type f -name '*.go' -not -path "*/internal/proto/*" | while IFS='' read -r file; do goimports -l -w "$file"; done
gofumpt -l -w .
- name: Push
id: push
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "run go mod tidy & format go codes"
branch: ${{ github.head_ref }}
commit_user_name: ictsc-actions[bot]
commit_user_email: 154957684+ictsc-actions[bot]@users.noreply.github.com
commit_author: ictsc-actions[bot] <154957684+ictsc-actions[bot]@users.noreply.github.com>
- name: Exit with Error If Files Are Changed
if: steps.push.outputs.changes_detected == 'true'
run: exit 1
build:
name: Build
runs-on: ubuntu-latest
Expand Down
55 changes: 0 additions & 55 deletions .github/workflows/proto-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,58 +76,3 @@ jobs:
- name: Exit with Error If Files Are Changed
if: steps.push.outputs.changes_detected == 'true'
run: exit 1
generate:
name: Generation
runs-on: ubuntu-latest
needs: format
steps:
- name: Generate a token
id: token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.PUSHER_APP_ID }}
private-key: ${{ secrets.PUSHER_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ steps.token.outputs.token }}
# Setup backend
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: backend/go.mod
cache-dependency-path: backend/go.sum
# Setup frontend
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
package_json_file: frontend/package.json
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
cache-dependency-path: frontend/pnpm-lock.yaml
- name: Install dependencies
working-directory: frontend
run: pnpm install
# Generate
- name: Generate backend
working-directory: backend
run: go generate .
- name: Generate frontend
working-directory: frontend
run: pnpm generate:proto
- name: Push
id: push
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "generate & oapi files"
branch: ${{ github.head_ref }}
commit_user_name: ictsc-actions[bot]
commit_user_email: 154957684+ictsc-actions[bot]@users.noreply.github.com
commit_author: ictsc-actions[bot] <154957684+ictsc-actions[bot]@users.noreply.github.com>
- name: Exit with Error If Files Are Changed
if: steps.push.outputs.changes_detected == 'true'
run: exit 1

0 comments on commit 47619fb

Please sign in to comment.