Skip to content

Commit

Permalink
ビルド/CI関係のアップデート
Browse files Browse the repository at this point in the history
  • Loading branch information
kaz committed Nov 7, 2024
1 parent 8e867dc commit ff54b05
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: goreleaser/goreleaser-action@v3
- uses: goreleaser/goreleaser-action@v6
with:
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: docker/login-action@v2
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v2
- uses: docker/build-push-action@v6
with:
push: true
tags: |
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ archives:
checksum:
disable: true
changelog:
skip: true
use: github-native
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ run-agent:
build: pprotein pprotein-agent

pprotein: view/dist
go build -ldflags="-w -s" -gcflags="-trimpath=$$PWD" -asmflags="-trimpath=$$PWD" ./cli/pprotein
go build -trimpath -ldflags="-w -s" ./cli/pprotein

pprotein-agent:
go build -ldflags="-w -s" -gcflags="-trimpath=$$PWD" -asmflags="-trimpath=$$PWD" ./cli/pprotein-agent
go build -trimpath -ldflags="-w -s" ./cli/pprotein-agent

view/dist:
npm --prefix view ci
Expand Down

0 comments on commit ff54b05

Please sign in to comment.