From 5d430aa3d5c5d8c0fcb688c6cd115cca9bc23e32 Mon Sep 17 00:00:00 2001 From: pradt2 Date: Mon, 13 Jun 2022 17:00:51 +0100 Subject: [PATCH] Test github actions with geoip cache --- .github/workflows/check-list.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/check-list.yaml diff --git a/.github/workflows/check-list.yaml b/.github/workflows/check-list.yaml new file mode 100644 index 000000000..51907a972 --- /dev/null +++ b/.github/workflows/check-list.yaml @@ -0,0 +1,23 @@ +on: + schedule: + # Minute zero of every hour + - cron: '0 * * * *' + # # You can use this to test the workflow by pushing to the test branch + # push: + # branches: + # - test + +jobs: + check_list: + runs-on: ubuntu-latest + env: + RUST_LOG: info + IPGEOLOCATIONIO_API_KEY: ${{ secrets.IPGEOLOCATIONIO_API_KEY }} + steps: + # Checkout the repository + - uses: actions/checkout@v2 + # Check the list + - name: Check the list + run: cargo run + # Commit the code + - uses: stefanzweifel/git-auto-commit-action@v4