Skip to content

Commit

Permalink
Merge pull request #3 from okkun-sh/fix/ci
Browse files Browse the repository at this point in the history
adjuist CI configurations
  • Loading branch information
okkun-sh committed Jan 30, 2024
2 parents 8c9e116 + eb78f53 commit 5516b14
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Expand Up @@ -11,14 +11,17 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
- name: checkout
uses: actions/checkout@v3

- name: setup
uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache: true
- uses: goreleaser/goreleaser-action@v4

- name: release
uses: goreleaser/goreleaser-action@v4
with:
args: release --rm-dist
env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -19,7 +19,8 @@ jobs:
- name: setup
uses: actions/setup-go@v3
with:
go-version: '1.21.x'
go-version-file: go.mod
cache: true

- name: test
run: go test -cover -coverprofile=coverage.out ./... -v
8 changes: 0 additions & 8 deletions .goreleaser.yaml
Expand Up @@ -20,14 +20,6 @@ archives:
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
- repository:
owner: okkun-sh
Expand Down

0 comments on commit 5516b14

Please sign in to comment.