From 29dc2c114250f5dc2248f0cb4e8b76024bca0d75 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Tue, 23 Apr 2024 23:07:13 +1200 Subject: [PATCH] =?UTF-8?q?fix:=20Linting=20errors=20on=20CI=20=20?= =?UTF-8?q?=F0=9F=9A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7616e30..af43005 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,11 @@ jobs: env: PY_COLORS: '1' ANSIBLE_FORCE_COLOR: '1' + - name: Lint with ansible-lint + run: yamllint . + env: + PY_COLORS: '1' + ANSIBLE_FORCE_COLOR: '1' molecule: name: Molecule Tests ${{ matrix.os }} runs-on: ubuntu-latest @@ -44,7 +49,7 @@ jobs: - name: Ensure requirements are installed run: pip install -r requirements.txt - + - name: Run Molecule tests. run: molecule test env: @@ -64,13 +69,13 @@ jobs: wget https://github.com/cybercinch/go-semantic-release-provider-gitea/releases/download/v${GITEA_PROVIDER_VER}/go-semantic-release-provider-gitea_v${GITEA_PROVIDER_VER}_linux_amd64 \ -O .semrel/$(go env GOOS)_$(go env GOARCH)/provider-gitea/${GITEA_PROVIDER_VER}/gitea && \ chmod a+x .semrel/$(go env GOOS)_$(go env GOARCH)/provider-gitea/${GITEA_PROVIDER_VER}/gitea - env: - GITEA_PROVIDER_VER: 1.0.9 - - run: | - echo "github repo: ${GITHUB_REPOSITORY}" - - uses: go-semantic-release/action@v1 - with: - custom-arguments: --provider=gitea - env: - GITEA_TOKEN: ${{ secrets.G_TOKEN }} - GITEA_HOST: ${{ secrets.G_SERVER_URL}} \ No newline at end of file + env: + GITEA_PROVIDER_VER: 1.0.9 + - run: | + echo "github repo: ${GITHUB_REPOSITORY}" + - uses: go-semantic-release/action@v1 + with: + custom-arguments: --provider=gitea + env: + GITEA_TOKEN: ${{ secrets.G_TOKEN }} + GITEA_HOST: ${{ secrets.G_SERVER_URL}}