Skip to content

ci: bump versions in tests #1762

ci: bump versions in tests

ci: bump versions in tests #1762

Workflow file for this run

---
name: Lint
on:
pull_request:
push:
branches: [main]
concurrency:
group: lint-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
KURTOSIS_VERSION: 0.90.1
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
# Install linters
- name: Install kurtosis
run: |
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
sudo apt update
sudo apt install kurtosis-cli=${{ env.KURTOSIS_VERSION }}
kurtosis analytics disable
- name: Install yamllint
run: pip install yamllint
- name: Install hadolint
run: |
sudo wget -O /usr/local/bin/hadolint https://github.com/hadolint/hadolint/releases/latest/download/hadolint-Linux-x86_64
sudo chmod +x /usr/local/bin/hadolint
- name: Install shellcheck
run: sudo apt install shellcheck
# Run linters
- name: Run kurtosis linter
run: kurtosis lint .
- name: Run yamllint
run: yamllint --config-file ${{ github.workspace }}/.yamllint.yml .
- name: Run hadolint
run: find . -type f -name '*.Dockerfile' | sort | xargs -I {} hadolint --config ${{ github.workspace }}/.hadolint.yml {}
- name: Run shellcheck
run: find . -type f -name '*.sh' | sort | xargs -I {} shellcheck {}
compare-default-parameters:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- name: Install yq
run: pip3 install yq
- name: Compare default parameters
working-directory: .github/scripts
run: ./compare-default-params.sh