FEAT: LBC metric collector (#3941) #24
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: Deprecated API detect | |
on: | |
push: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
deprecated-apigroups: | |
name: Detect deprecated apiGroups | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
version=$(curl -sL https://api.github.com/repos/FairwindsOps/pluto/releases/latest | jq -r ".tag_name") | |
number=${version:1} | |
wget https://github.com/FairwindsOps/pluto/releases/download/${version}/pluto_${number}_linux_amd64.tar.gz | |
sudo tar -C /usr/local -xzf pluto_${number}_linux_amd64.tar.gz | |
- run: | | |
rm -rf docs/install | |
rm -rf config/samples | |
/usr/local/pluto detect-files -d . |