File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM alpine:latest
2+
3+ LABEL version="0.1.0"
4+ LABEL repository="https://github.com/plexsystems/protolint-action"
5+ LABEL homepage="https://github.com/plexsystems/protolint-action"
6+
7+ COPY LICENSE README.md /
8+
9+ ARG PROTOLINT_VERSION=0.17.0
10+ RUN wget https://github.com/yoheimuta/protolint/releases/download/v${PROTOLINT_VERSION}/protolint_${PROTOLINT_VERSION}_Linux_x86_64.tar.gz \
11+ && tar xf protolint_${PROTOLINT_VERSION}_Linux_x86_64.tar.gz \
12+ && mv protolint /usr/local/bin/protolint
13+
14+ ENTRYPOINT ["protolint" ]
Original file line number Diff line number Diff line change 1+ name : ' Protolint'
2+ description : ' A tool to enforce Protocol Buffer style and conventions'
3+ author : ' Plex Systems'
4+
5+ branding :
6+ icon : ' code'
7+ color : ' black'
8+
9+ inputs :
10+ command :
11+ description : ' The command to run with protolint'
12+ required : true
13+
14+ runs :
15+ using : ' docker'
16+ image : ' Dockerfile'
17+ args :
18+ - ${{ inputs.command }}
You can’t perform that action at this time.
0 commit comments