Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pin dev dependencies #233

Merged
merged 2 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ BUILD_IMAGE ?= golang:1.21-bullseye
# to get the sha256 ID
PROXY_IMAGE ?= envoyproxy/envoy@sha256:08a498a45afc12b593dd415f6c91b401c35aff119190fc6d549c1873082bf463
# We may need to use timestamp if we need to update the image in one PR
DEV_TOOLS_IMAGE ?= ghcr.io/mosn/htnn-dev-tools:2024-01-05
DEV_TOOLS_IMAGE ?= ghcr.io/mosn/htnn-dev-tools:2024-01-18

VERSION = $(shell cat VERSION)
GIT_VERSION = $(shell git log -1 --pretty=format:%h)
Expand Down
5 changes: 4 additions & 1 deletion plugins/casbin/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ message Config {

Rule rule = 1 [(validate.rules).message.required = true];

enum Source { HEADER = 0; }
enum Source {
HEADER = 0;
}

message Token {
Source source = 1;
string name = 2 [(validate.rules).string = {min_len: 1}];
Expand Down
4 changes: 2 additions & 2 deletions tools/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ARG GOPROXY
ENV GOPROXY=$GOPROXY

# codespell
RUN apt update && apt install -y --no-install-recommends pip && pip install codespell
RUN apt update && apt install -y --no-install-recommends pip && pip install codespell==2.2.6

# protoc
RUN apt install -y --no-install-recommends unzip
Expand Down Expand Up @@ -57,4 +57,4 @@ RUN VER=24.4 && \
go install google.golang.org/protobuf/cmd/[email protected]

# clang-format
RUN apt install -y --no-install-recommends clang-format
RUN pip install clang-format==17.0.6