Skip to content

猬嗭笍 Bump oj from 3.17.4 to 3.17.5 #3088

猬嗭笍 Bump oj from 3.17.4 to 3.17.5

猬嗭笍 Bump oj from 3.17.4 to 3.17.5 #3088

Workflow file for this run

name: Lint and Test Helm Charts
on: pull_request
permissions:
contents: read
jobs:
lint-test:
runs-on: ubuntu-latest
env:
TARGET_BRANCH: ${{ github.event.repository.default_branch }}
steps:
- id: campfire-configured
env:
CAMPFIRE_MESSAGES_URL: ${{ secrets.CAMPFIRE_MESSAGES_URL }}
run: |
if [ -n "${CAMPFIRE_MESSAGES_URL}" ]; then
echo "configured=true" >> "$GITHUB_OUTPUT"
else
echo "configured=false" >> "$GITHUB_OUTPUT"
fi
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310 # v5
with:
version: v3.12.1
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
name: Setup Python
with:
python-version: "3.10"
check-latest: true
- name: Set up chart-testing
uses: helm/chart-testing-action@6ec842c01de15ebb84c8627d2744a0c2f2755c9f # v2.8.0
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --config ./ct.yaml --target-branch "$TARGET_BRANCH")
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: ct lint --config ./ct.yaml --target-branch "$TARGET_BRANCH"
- name: Create kind cluster
if: steps.list-changed.outputs.changed == 'true'
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: ct install --config ./ct.yaml --target-branch "$TARGET_BRANCH"
- name: Post job failure details to Campfire
if: failure() && steps.campfire-configured.outputs.configured == 'true' && github.base_ref == env.TARGET_BRANCH
continue-on-error: true
uses: shane-lamb/campfire-notify-action@df63cf73810147306276e281bedccf71c1519caf # v1.1.6
with:
messages_url: ${{ secrets.CAMPFIRE_MESSAGES_URL }}
template: job_failed