nvchecker #9
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: nvchecker | |
on: | |
schedule: | |
- cron: "0 6 * * *" | |
workflow_dispatch: | |
jobs: | |
nvchecker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install nvchecker | |
run: | | |
sudo pip3 install jq nvchecker | |
sudo mkdir -p /etc/pki/tls/certs | |
sudo ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt | |
- name: Run nvchecker | |
continue-on-error: true | |
run: nvchecker -c nvchecker.toml | |
- name: Run nvcmp | |
run: | | |
nvcmp -c nvchecker.toml | tee nvcmp.out | |
test -s nvcmp.out && exit 1 |