Skip to content

Update dependency ruff to v0.1.6 #43

Update dependency ruff to v0.1.6

Update dependency ruff to v0.1.6 #43

Workflow file for this run

name: Workflow
on:
push:
branches: [ main ]
pull_request: { }
jobs:
validate-renovate-config:
uses: BlindfoldedSurgery/renovate-config/.github/workflows/validate.yml@main
lint:
uses: BlindfoldedSurgery/actions-python/.github/workflows/lint.yml@v1
with:
python-version: '3.12'
test:
uses: BlindfoldedSurgery/actions-python/.github/workflows/test.yml@v1
with:
python-version: '3.12'
build-container-image:
needs:
- lint
- test
uses: BlindfoldedSurgery/actions-container/.github/workflows/build-image-docker.yml@v3
with:
push-image: ${{ github.ref_name == github.event.repository.default_branch }}
deploy:
runs-on: ubuntu-latest
needs:
- build-container-image
if: success() && github.ref_name == github.event.repository.default_branch
concurrency: production
steps:
- uses: actions/checkout@v4
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4
- name: Substitute environment variables in values.yaml
run: "envsubst < values.yaml > values_sub.yaml && mv values_sub.yaml values.yaml"
env:
IMAGE_NAME: "ghcr.io/${{ env.GITHUB_REPOSITORY_OWNER_PART_SLUG }}/${{ env.GITHUB_REPOSITORY_NAME_PART_SLUG }}"
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
- uses: WyriHaximus/github-action-helm3@v3
with:
exec: helm upgrade location-bot . --install --namespace=telegram-bots --atomic
kubeconfig: '${{ secrets.KUBECONFIG_RAW }}'
clean:
concurrency: cleanup
needs: [ deploy ]
uses: BlindfoldedSurgery/actions-container/.github/workflows/clean.yml@v3