seeker-action #890
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
# This workflow will install Python seeker and run based on scheduler or events | |
name: seeker-action | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: "0 17 * * 1-5" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Install seeker | |
run: | | |
pip install -e . | |
- name: run | |
run: | | |
git config --global user.name eduardocerqueira | |
git config --global user.email [email protected] | |
export GITHUB_TOKEN=${{ secrets.TOKEN }} | |
cd seeker | |
seeker |