Skip to content
This repository was archived by the owner on Dec 6, 2025. It is now read-only.

Commit 1facce9

Browse files
committed
add actionlint
1 parent ec54bf2 commit 1facce9

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

.github/workflows/cicd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212

1313
env:
1414
# renovate: dev-tag
15-
DEV_TAG: '18'
15+
DEV_TAG: '19'
1616

1717
jobs:
1818

dev/docker-compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ services:
104104
context: ../images/dev-go-custom
105105
args:
106106
# renovate: dev-tag
107-
TAG: '18'
107+
TAG: '19'
108108
UID: ${UID:-1000}
109109
GID: ${GID:-1000}
110110
volumes:
@@ -148,7 +148,7 @@ services:
148148
context: ../images/dev-go-custom
149149
args:
150150
# renovate: dev-tag
151-
TAG: '18'
151+
TAG: '19'
152152
UID: ${UID:-1000}
153153
GID: ${GID:-1000}
154154
volumes:

images/dev-go/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ RUN mkdir "$HOME/dapr" \
9595
RUN curl -L https://fly.io/install.sh | sh
9696
ENV PATH="$PATH:$HOME/.fly/bin"
9797

98+
# install actionlint
99+
# https://github.com/rhysd/actionlint
100+
ENV ACTIONLINT_VERSION=1.7.5
101+
RUN go install github.com/rhysd/actionlint/cmd/actionlint@v${ACTIONLINT_VERSION} \
102+
&& go clean -modcache
103+
98104
# install go-migrate
99105
# https://github.com/golang-migrate/migrate
100106
# renovate: datasource=github-releases depName=golang-migrate/migrate

images/dev-go/update-dev-tag.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55

66
# update this value, when you update the Dockerfile
77
# renovate: dev-tag
8-
TAG='18'
8+
TAG='19'
99

1010
# go to repo root
1111
cd $(git rev-parse --show-toplevel)

lint.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ set -e
44
# Format Code
55
gofumpt -l -w .
66

7-
# Run linter
7+
# Run workflows linter
8+
actionlint
9+
10+
# Run go linter
811
find -type d -name gen -prune -o -name "go.mod" -exec sh -c 'cd "$(dirname {})" && pwd && golangci-lint run' \;
912

0 commit comments

Comments
 (0)