fix: Linting errors on CI 🚨
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
CI / lint (push) Successful in 49s
ci/woodpecker/push/release/2 Pipeline failed
CI / Molecule Tests ${{ matrix.os }} (almalinux8) (push) Successful in 3m29s
ci/woodpecker/push/release/1 Pipeline was successful
ci/woodpecker/push/release/3 Pipeline was successful
ci/woodpecker/push/test/1 Pipeline was successful
ci/woodpecker/push/test/3 Pipeline failed
ci/woodpecker/push/test/2 Pipeline failed
ci/woodpecker/push/z.ntfy unknown status
CI / Molecule Tests ${{ matrix.os }} (almalinux9) (push) Successful in 3m15s
CI / release (push) Failing after 16s

This commit is contained in:
2024-04-23 23:07:13 +12:00
parent 86e63365ce
commit 29dc2c1142

View File

@@ -25,6 +25,11 @@ jobs:
env: env:
PY_COLORS: '1' PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1' ANSIBLE_FORCE_COLOR: '1'
- name: Lint with ansible-lint
run: yamllint .
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
molecule: molecule:
name: Molecule Tests ${{ matrix.os }} name: Molecule Tests ${{ matrix.os }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -44,7 +49,7 @@ jobs:
- name: Ensure requirements are installed - name: Ensure requirements are installed
run: pip install -r requirements.txt run: pip install -r requirements.txt
- name: Run Molecule tests. - name: Run Molecule tests.
run: molecule test run: molecule test
env: 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 \ 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 && \ -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 chmod a+x .semrel/$(go env GOOS)_$(go env GOARCH)/provider-gitea/${GITEA_PROVIDER_VER}/gitea
env: env:
GITEA_PROVIDER_VER: 1.0.9 GITEA_PROVIDER_VER: 1.0.9
- run: | - run: |
echo "github repo: ${GITHUB_REPOSITORY}" echo "github repo: ${GITHUB_REPOSITORY}"
- uses: go-semantic-release/action@v1 - uses: go-semantic-release/action@v1
with: with:
custom-arguments: --provider=gitea custom-arguments: --provider=gitea
env: env:
GITEA_TOKEN: ${{ secrets.G_TOKEN }} GITEA_TOKEN: ${{ secrets.G_TOKEN }}
GITEA_HOST: ${{ secrets.G_SERVER_URL}} GITEA_HOST: ${{ secrets.G_SERVER_URL}}