Skip to content

Commit

Permalink
Shift line length setting to .yamllint .
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffano committed Jul 15, 2024
1 parent a8f05f3 commit b7c8840
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
extends: default

rules:
line-length:
max: 240
2 changes: 0 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ runs:
steps:
- name: Build Docker image
shell: bash
# yamllint disable-line rule:line-length
run: |
docker build -f Dockerfile --build-arg IMAGE=${{ inputs.image }} -t local_image:8.8.8 .
- name: Run Docker container
shell: bash
# yamllint disable-line rule:line-length
run: |
docker run --workdir "${PWD/"$GITHUB_WORKSPACE"/"/github/workspace"}" --rm -v "/var/run/docker.sock":"/var/run/docker.sock" --name local_container local_image:8.8.8 ${{ inputs.command }}

0 comments on commit b7c8840

Please sign in to comment.