From e4dce0bda5e4898063933cf09b0b91cd7e2529a0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 15 Mar 2022 14:57:26 +0300 Subject: workflows/ci: lint --- .github/workflows/ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52c4f66..91e753a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,8 +24,8 @@ jobs: - name: Checkout Jekyll project uses: actions/checkout@v2 with: - repository: ${{ env.JEKYLL_PROJECT_AUTHOR }}/${{ env.JEKYLL_PROJECT_NAME }} - path: ${{ env.JEKYLL_PROJECT_NAME }} + repository: '${{ env.JEKYLL_PROJECT_AUTHOR }}/${{ env.JEKYLL_PROJECT_NAME }}' + path: '${{ env.JEKYLL_PROJECT_NAME }}' - name: Add ~/.local/bin to PATH run: echo "$HOME/.local/bin" >> "$GITHUB_PATH" - name: chruby & ruby-install are not installed @@ -57,6 +57,7 @@ jobs: run: | test -d "$JEKYLL_PROJECT_NAME/_site" test -f "$JEKYLL_PROJECT_NAME/_site/index.html" + docker_build: runs-on: ubuntu-latest name: Docker build @@ -72,8 +73,8 @@ jobs: - name: Checkout Jekyll project uses: actions/checkout@v2 with: - repository: ${{ env.JEKYLL_PROJECT_AUTHOR }}/${{ env.JEKYLL_PROJECT_NAME }} - path: ${{ env.JEKYLL_PROJECT_NAME }} + repository: '${{ env.JEKYLL_PROJECT_AUTHOR }}/${{ env.JEKYLL_PROJECT_NAME }}' + path: '${{ env.JEKYLL_PROJECT_NAME }}' - name: Build Docker images run: make -f src/Makefile docker/build "PROJECT_DIR=$JEKYLL_PROJECT_NAME" - name: _site doesn't exist @@ -113,6 +114,7 @@ jobs: run: curl -sS -D - http://localhost:4000/dummy.txt - name: Stop containers run: make -f src/Makefile docker/down + docker_root_build: runs-on: ubuntu-latest name: Docker build (as root) @@ -128,8 +130,8 @@ jobs: - name: Checkout Jekyll project uses: actions/checkout@v2 with: - repository: ${{ env.JEKYLL_PROJECT_AUTHOR }}/${{ env.JEKYLL_PROJECT_NAME }} - path: ${{ env.JEKYLL_PROJECT_NAME }} + repository: '${{ env.JEKYLL_PROJECT_AUTHOR }}/${{ env.JEKYLL_PROJECT_NAME }}' + path: '${{ env.JEKYLL_PROJECT_NAME }}' - name: Jekyll project is owned by root run: sudo chown -R -- root:root "$JEKYLL_PROJECT_NAME" - name: Build Docker images -- cgit v1.2.3