Skip to content

Upgrade backend libraries and nil bugfix #136

Upgrade backend libraries and nil bugfix

Upgrade backend libraries and nil bugfix #136

Workflow file for this run

name: pre-commit
on:
pull_request:
push:
branches: [master]
jobs:
pre-commit:
# Run the test inside a centos8 container
runs-on: ubuntu-latest
container: golang:buster
steps:
# Make pip3 work
- name: Install Dependencies apt
run: |
apt update && \
apt-get install -y python3 python3-pip python3-setuptools git wget
- uses: actions/checkout@v2
# Install requirements and latest ansible
- name: Install Dependencies pip
run: |
pip3 install pre-commit
# Validate all files in the repo
- name: Run pre-commit
run: |
git config --global --add safe.directory /__w/vals-operator/vals-operator
pre-commit run --all-files -v || (cat /github/home/.cache/pre-commit/pre-commit.log && exit 1)