Skip to content

Commit

Permalink
query github's default branch
Browse files Browse the repository at this point in the history
  • Loading branch information
marguerite committed Jun 3, 2023
1 parent 2b835ec commit 474c812
Show file tree
Hide file tree
Showing 7 changed files with 368 additions and 36 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,31 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, windows-2016]
os: [ubuntu-20.04, windows-2019]
steps:
- uses: actions/checkout@v2

- name: Install Go
if: matrix.os == 'ubuntu-18.04'
if: matrix.os == 'ubuntu-20.04'
run: |
sudo apt-get update && sudo apt-get install golang-1.13
sudo apt-get update && sudo apt-get install golang-1.18
- name: Download Go Modules
run: |
go mod download
- name: Build Package
if: matrix.os == 'windows-2016'
if: matrix.os == 'windows-2019'
run: |
go build
- name: Make AppImage
if: matrix.os == 'ubuntu-18.04'
if: matrix.os == 'ubuntu-20.04'
run: |
chmod +x build.sh && bash build.sh
- name: Upload Assets
if: matrix.os == 'ubuntu-18.04'
if: matrix.os == 'ubuntu-20.04'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -44,7 +44,7 @@ jobs:
overwrite: true

- name: Upload Executable
if: matrix.os == 'windows-2016'
if: matrix.os == 'windows-2019'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
go.sum
vendor
37 changes: 34 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,44 @@
module github.com/marguerite/rime-plum-go

go 1.15
go 1.17

require (
github.com/cavaliercoder/grab v2.0.0+incompatible
github.com/charmbracelet/bubbletea v0.13.4
github.com/go-git/go-git/v5 v5.4.2
github.com/go-git/go-git/v5 v5.7.0
github.com/marguerite/go-stdlib v0.0.0-20210602094502-966832f216f6
github.com/muesli/termenv v0.8.1
golang.org/x/sys v0.0.0-20210601080250-7ecdf8ef093b
golang.org/x/sys v0.8.0
gopkg.in/yaml.v2 v2.4.0
)

require (
github.com/Microsoft/go-winio v0.5.2 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230518184743-7afd39499903 // indirect
github.com/acomagu/bufpipe v1.0.4 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/containerd/console v1.0.1 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.4.1 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/imdario/mergo v0.3.15 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/mattn/go-runewidth v0.0.10 // indirect
github.com/muesli/reflow v0.2.1-0.20210115123740-9e1d0d53df68 // indirect
github.com/pjbgf/sha1cd v0.3.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/skeema/knownhosts v1.1.1 // indirect
github.com/stretchr/testify v1.7.0 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
golang.org/x/crypto v0.9.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/term v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
)
Loading

0 comments on commit 474c812

Please sign in to comment.