Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Mar 1, 2025
1 parent 153a126 commit 3ab457f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/actions/setup-go/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ inputs:
required: false
default: "build"

name: "Setup Node and run npm ci"
description: "setup node env"
name: "Setup Golang"
description: "setup golang env"
runs:
using: "composite"
steps:
Expand All @@ -15,7 +15,7 @@ runs:
go-version-file: "go.mod"
cache: false

- name: Go Build Cache (build)
- name: Go Build Cache (${{ inputs.env }})
uses: actions/cache@v4
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: ./.github/workflows/actions/setup-go
- uses: ./.github/actions/setup-go
with:
env: build

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: ./.github/workflows/actions/setup-go
- uses: ./.github/actions/setup-go
with:
env: lint

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: ./.github/workflows/actions/setup-go
- uses: ./.github/actions/setup-go

- run: echo "SHA=${GITHUB_REF##*/}" >> $GITHUB_ENV
if: "${{ startsWith(github.ref, 'refs/tags/') }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: ./.github/workflows/actions/setup-go
- uses: ./.github/actions/setup-go

- run: go install golang.org/x/vuln/cmd/govulncheck@latest

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
with:
submodules: recursive

- uses: ./.github/workflows/actions/setup-go
- uses: ./.github/actions/setup-go
with:
env: test

Expand Down

0 comments on commit 3ab457f

Please sign in to comment.