Test github actions with geoip cache

This commit is contained in:
pradt2 2022-06-13 17:00:51 +01:00
parent f24c712728
commit 5d430aa3d5

23
.github/workflows/check-list.yaml vendored Normal file
View File

@ -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