Skip to content

Commit

Permalink
Introduce homebrew and update project setting
Browse files Browse the repository at this point in the history
  • Loading branch information
nao1215 committed May 1, 2024
1 parent fbdfefe commit 40bb140
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ updates:
interval: daily
time: "20:00"
open-pull-requests-limit: 10
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: "1.18"
go-version: "1"
check-latest: true

- name: Build
run: make build
5 changes: 3 additions & 2 deletions .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: "1.18"
go-version: "1"
check-latest: true

- name: SetupShellScript
run: curl -fsSL https://git.io/shellspec | sh -s -- --yes
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: "1.18"
go-version: "1"
check-latest: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: "1.18"
go-version: "1"
check-latest: true

- name: UnitTest
run: make ut
29 changes: 25 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ builds:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
archives:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
linux: Linux
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"
snapshot:
Expand All @@ -29,3 +33,20 @@ changelog:
exclude:
- "^docs:"
- "^test:"
nfpms:
- maintainer: Naohiro CHIKAMATSU <n.chika156@gmail.com>
description: MimixBox - mimic BusyBox on Linux
homepage: https://github.com/nao1215/mimixbox
license: Apache-2.0 license
formats:
- deb
- rpm
- apk
brews:
- name: mimixbox
description: MimixBox - mimic BusyBox on Linux
license: Apache-2.0 license
repository:
owner: nao1215
name: homebrew-tap
token: "{{ .Env.TAP_GITHUB_TOKEN }}"

0 comments on commit 40bb140

Please sign in to comment.