Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,9 @@ jobs:
with:
go-version: stable

- name: Build binaries
run: |
GOOS=linux GOARCH=amd64 go build -o dist/mogutypo-linux-amd64 ./cmd/mogutypo
GOOS=linux GOARCH=arm64 go build -o dist/mogutypo-linux-arm64 ./cmd/mogutypo
GOOS=darwin GOARCH=amd64 go build -o dist/mogutypo-darwin-amd64 ./cmd/mogutypo
GOOS=darwin GOARCH=arm64 go build -o dist/mogutypo-darwin-arm64 ./cmd/mogutypo
- run: go build -o mogutypo ./cmd/mogutypo

- name: Create release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release create ${{ github.ref_name }} dist/* --generate-notes
run: gh release create ${{ github.ref_name }} mogutypo --generate-notes
2 changes: 1 addition & 1 deletion .github/workflows/typo-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

- name: Install mogutypo
run: |
curl -fsSL "https://github.com/futomaru/mogu-typo/releases/latest/download/mogutypo-linux-amd64" -o /usr/local/bin/mogutypo
curl -fsSL "https://github.com/futomaru/mogu-typo/releases/latest/download/mogutypo" -o /usr/local/bin/mogutypo
chmod +x /usr/local/bin/mogutypo

- run: mogutypo diff --base origin/${{ github.base_ref }} --format github
Loading