changinf chart references for development #77
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate | |
on: [pull_request, push] | |
jobs: | |
validate: | |
runs-on: org-${{ github.repository_owner_id }}-amd64-k8s | |
container: registry.suse.com/bci/python:3.11 | |
env: | |
GOLANG_CI_LINT_VERSION: v1.54.2 | |
GOLANG_VERSION: '1.23' | |
steps: | |
- name: Install dependencies | |
shell: bash | |
run: zypper install -y git awk | |
- name: Git safe directory | |
run: git config --global --add safe.directory "$PWD" | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Check Python version | |
run: | | |
python3 --version | |
python3 -m ensurepip --upgrade | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "${{ env.GOLANG_VERSION }}" | |
- name: Install Python and dependencies | |
run: | | |
pip3 install --upgrade pip | |
pip3 install tox flake8 | |
- name: Validate | |
run: ./scripts/validate |