Skip to content

Commit

Permalink
Update workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
bensadeh committed Jul 8, 2023
1 parent 7ed4149 commit 1e3f84a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ updates:
- package-ecosystem: gomod
directory: /
schedule:
interval: daily
interval: weekly
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: stable

- name: Build
run: go build -v ./...
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: stable
- name: Run tests
run: go test -v ./...
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v4
with:
go-version: stable
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
9 changes: 2 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ builds:
- linux
- darwin
archives:
- replacements:
darwin: macOS
linux: Linux
386: 32-bit
amd64: 64-bit
files:
- files:
- share/man/*
checksum:
name_template: 'checksums.txt'
Expand All @@ -23,7 +18,7 @@ changelog:
skip: true
brews:
- name: circumflex
tap:
repository:
owner: bensadeh
name: homebrew-circumflex
description: "circumflex is a command line tool for browsing Hacker News in your terminal"
Expand Down

0 comments on commit 1e3f84a

Please sign in to comment.