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

feat: Pin versions #28

Merged
merged 1 commit into from
Feb 9, 2023
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
1 change: 1 addition & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ jobs:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
generateReleaseNotes: true
11 changes: 2 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
FROM python:slim

LABEL org.opencontainers.image.description \
"Yamllint Action for GitHub Actions" \
org.opencontainers.image.url \
"https://github.com/actionshub/yamllint" \
org.opencontainers.image.authors \
"https://github.com/actionshub"
FROM python:3.10-slim

ENV MATCHERS_DIR="._actionshub_problem-matchers" \
MATCHER_FILE="${MATCHERS_DIR}/yamllint.json"

COPY yamllint.json ${MATCHER_FILE}
RUN pip install yamllint \
RUN pip install yamllint==v1.29.0 \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this be picked up or should we use a requirements file and install from there?

&& mkdir -p ${MATCHERS_DIR} \
&& echo "::[add-matcher]${MATCHER_FILE}"

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ author: 'Jason Field'
description: 'Run yamllint on your yaml files with ease'
runs:
using: 'docker'
image: docker://ghcr.io/actionshub/yamllint:v1.4.0
image: docker://ghcr.io/actionshub/yamllint:v1.5.0
branding:
icon: 'edit-3'
color: 'red'