{"id": 133396, "seq": 1, "job": {"value": 26772, "label": "mirror"}, "repo": {"value": 107914493, "label": "datasette"}, "uses": "zofrex/mirror-branch@ea152f124954fa4eb26eea3fe0dbe313a3a08d94", "name": "Mirror to \"master\"", "with": "{\"target-branch\": \"master\", \"force\": false}", "run": null, "env": null, "if": null} {"id": 133397, "seq": 2, "job": {"value": 26772, "label": "mirror"}, "repo": {"value": 107914493, "label": "datasette"}, "uses": "zofrex/mirror-branch@ea152f124954fa4eb26eea3fe0dbe313a3a08d94", "name": "Mirror to \"main\"", "with": "{\"target-branch\": \"main\", \"force\": false}", "run": null, "env": null, "if": null} {"id": 138653, "seq": 1, "job": {"value": 27827, "label": "test"}, "repo": {"value": 611552758, "label": "apple-notes-to-sqlite"}, "uses": "actions/checkout@v3", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138654, "seq": 2, "job": {"value": 27827, "label": "test"}, "repo": {"value": 611552758, "label": "apple-notes-to-sqlite"}, "uses": "actions/setup-python@v4", "name": "Set up Python ${{ matrix.python-version }}", "with": "{\"python-version\": \"${{ matrix.python-version }}\", \"cache\": \"pip\", \"cache-dependency-path\": \"setup.py\"}", "run": null, "env": null, "if": null} {"id": 138655, "seq": 3, "job": {"value": 27827, "label": "test"}, "repo": {"value": 611552758, "label": "apple-notes-to-sqlite"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install '.[test]'\n", "env": null, "if": null} {"id": 138656, "seq": 4, "job": {"value": 27827, "label": "test"}, "repo": {"value": 611552758, "label": "apple-notes-to-sqlite"}, "uses": null, "name": "Run tests", "with": null, "run": "pytest\n", "env": null, "if": null} {"id": 138657, "seq": 1, "job": {"value": 27828, "label": "deploy"}, "repo": {"value": 611552758, "label": "apple-notes-to-sqlite"}, "uses": "actions/checkout@v3", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138658, "seq": 2, "job": {"value": 27828, "label": "deploy"}, "repo": {"value": 611552758, "label": "apple-notes-to-sqlite"}, "uses": "actions/setup-python@v4", "name": "Set up Python", "with": "{\"python-version\": \"3.11\", \"cache\": \"pip\", \"cache-dependency-path\": \"setup.py\"}", "run": null, "env": null, "if": null} {"id": 138659, "seq": 3, "job": {"value": 27828, "label": "deploy"}, "repo": {"value": 611552758, "label": "apple-notes-to-sqlite"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install setuptools wheel twine build\n", "env": null, "if": null} {"id": 138660, "seq": 4, "job": {"value": 27828, "label": "deploy"}, "repo": {"value": 611552758, "label": "apple-notes-to-sqlite"}, "uses": null, "name": "Publish", "with": null, "run": "python -m build\ntwine upload dist/*\n", "env": "{\"TWINE_USERNAME\": \"__token__\", \"TWINE_PASSWORD\": \"${{ secrets.PYPI_TOKEN }}\"}", "if": null} {"id": 138661, "seq": 1, "job": {"value": 27829, "label": "test"}, "repo": {"value": 611552758, "label": "apple-notes-to-sqlite"}, "uses": "actions/checkout@v3", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138662, "seq": 2, "job": {"value": 27829, "label": "test"}, "repo": {"value": 611552758, "label": "apple-notes-to-sqlite"}, "uses": "actions/setup-python@v4", "name": "Set up Python ${{ matrix.python-version }}", "with": "{\"python-version\": \"${{ matrix.python-version }}\", \"cache\": \"pip\", \"cache-dependency-path\": \"setup.py\"}", "run": null, "env": null, "if": null} {"id": 138663, "seq": 3, "job": {"value": 27829, "label": "test"}, "repo": {"value": 611552758, "label": "apple-notes-to-sqlite"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install '.[test]'\n", "env": null, "if": null} {"id": 138664, "seq": 4, "job": {"value": 27829, "label": "test"}, "repo": {"value": 611552758, "label": "apple-notes-to-sqlite"}, "uses": null, "name": "Run tests", "with": null, "run": "pytest\n", "env": null, "if": null} {"id": 138665, "seq": 5, "job": {"value": 27829, "label": "test"}, "repo": {"value": 611552758, "label": "apple-notes-to-sqlite"}, "uses": null, "name": "Check if README is up-to-date", "with": null, "run": "cog --check README.md\n", "env": null, "if": null} {"id": 138666, "seq": 1, "job": {"value": 27830, "label": "test"}, "repo": {"value": 197431109, "label": "dogsheep-beta"}, "uses": "actions/checkout@v2", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138667, "seq": 2, "job": {"value": 27830, "label": "test"}, "repo": {"value": 197431109, "label": "dogsheep-beta"}, "uses": "actions/setup-python@v2", "name": "Set up Python ${{ matrix.python-version }}", "with": "{\"python-version\": \"${{ matrix.python-version }}\"}", "run": null, "env": null, "if": null} {"id": 138668, "seq": 3, "job": {"value": 27830, "label": "test"}, "repo": {"value": 197431109, "label": "dogsheep-beta"}, "uses": "actions/cache@v2", "name": "Configure pip caching", "with": "{\"path\": \"~/.cache/pip\", \"key\": \"${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\", \"restore-keys\": \"${{ runner.os }}-pip-\\n\"}", "run": null, "env": null, "if": null} {"id": 138669, "seq": 4, "job": {"value": 27830, "label": "test"}, "repo": {"value": 197431109, "label": "dogsheep-beta"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install -e '.[test]'\n", "env": null, "if": null} {"id": 138670, "seq": 5, "job": {"value": 27830, "label": "test"}, "repo": {"value": 197431109, "label": "dogsheep-beta"}, "uses": null, "name": "Run tests", "with": null, "run": "pytest -v\n", "env": null, "if": null} {"id": 138671, "seq": 1, "job": {"value": 27831, "label": "deploy"}, "repo": {"value": 197431109, "label": "dogsheep-beta"}, "uses": "actions/checkout@v2", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138672, "seq": 2, "job": {"value": 27831, "label": "deploy"}, "repo": {"value": 197431109, "label": "dogsheep-beta"}, "uses": "actions/setup-python@v2", "name": "Set up Python", "with": "{\"python-version\": \"3.8\"}", "run": null, "env": null, "if": null} {"id": 138673, "seq": 3, "job": {"value": 27831, "label": "deploy"}, "repo": {"value": 197431109, "label": "dogsheep-beta"}, "uses": "actions/cache@v2", "name": "Configure pip caching", "with": "{\"path\": \"~/.cache/pip\", \"key\": \"${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}\", \"restore-keys\": \"${{ runner.os }}-publish-pip-\\n\"}", "run": null, "env": null, "if": null} {"id": 138674, "seq": 4, "job": {"value": 27831, "label": "deploy"}, "repo": {"value": 197431109, "label": "dogsheep-beta"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install setuptools wheel twine\n", "env": null, "if": null} {"id": 138675, "seq": 5, "job": {"value": 27831, "label": "deploy"}, "repo": {"value": 197431109, "label": "dogsheep-beta"}, "uses": null, "name": "Publish", "with": null, "run": "python setup.py sdist bdist_wheel\ntwine upload dist/*\n", "env": "{\"TWINE_USERNAME\": \"__token__\", \"TWINE_PASSWORD\": \"${{ secrets.PYPI_TOKEN }}\"}", "if": null} {"id": 138676, "seq": 1, "job": {"value": 27832, "label": "test"}, "repo": {"value": 197431109, "label": "dogsheep-beta"}, "uses": "actions/checkout@v2", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138677, "seq": 2, "job": {"value": 27832, "label": "test"}, "repo": {"value": 197431109, "label": "dogsheep-beta"}, "uses": "actions/setup-python@v2", "name": "Set up Python ${{ matrix.python-version }}", "with": "{\"python-version\": \"${{ matrix.python-version }}\"}", "run": null, "env": null, "if": null} {"id": 138678, "seq": 3, "job": {"value": 27832, "label": "test"}, "repo": {"value": 197431109, "label": "dogsheep-beta"}, "uses": "actions/cache@v2", "name": "Configure pip caching", "with": "{\"path\": \"~/.cache/pip\", \"key\": \"${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\", \"restore-keys\": \"${{ runner.os }}-pip-\\n\"}", "run": null, "env": null, "if": null} {"id": 138679, "seq": 4, "job": {"value": 27832, "label": "test"}, "repo": {"value": 197431109, "label": "dogsheep-beta"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install -e '.[test]'\n", "env": null, "if": null} {"id": 138680, "seq": 5, "job": {"value": 27832, "label": "test"}, "repo": {"value": 197431109, "label": "dogsheep-beta"}, "uses": null, "name": "Run tests", "with": null, "run": "pytest -v\n", "env": null, "if": null} {"id": 138681, "seq": 1, "job": {"value": 27833, "label": "build"}, "repo": {"value": 256834907, "label": "dogsheep-photos"}, "uses": "actions/checkout@v2", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138682, "seq": 2, "job": {"value": 27833, "label": "build"}, "repo": {"value": 256834907, "label": "dogsheep-photos"}, "uses": "actions/setup-python@v1", "name": "Set up Python ${{ matrix.python-version }}", "with": "{\"python-version\": \"${{ matrix.python-version }}\"}", "run": null, "env": null, "if": null} {"id": 138683, "seq": 3, "job": {"value": 27833, "label": "build"}, "repo": {"value": 256834907, "label": "dogsheep-photos"}, "uses": "actions/cache@v1", "name": "Configure pip caching", "with": "{\"path\": \"~/.cache/pip\", \"key\": \"${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\", \"restore-keys\": \"${{ runner.os }}-pip-\\n\"}", "run": null, "env": null, "if": null} {"id": 138684, "seq": 4, "job": {"value": 27833, "label": "build"}, "repo": {"value": 256834907, "label": "dogsheep-photos"}, "uses": null, "name": "Install dependencies", "with": null, "run": "python -m pip install --upgrade pip\npip install -e .[test]\n", "env": null, "if": null} {"id": 138685, "seq": 5, "job": {"value": 27833, "label": "build"}, "repo": {"value": 256834907, "label": "dogsheep-photos"}, "uses": null, "name": "Test with pytest", "with": null, "run": "pytest\n", "env": null, "if": null} {"id": 138686, "seq": 1, "job": {"value": 27834, "label": "test"}, "repo": {"value": 303218369, "label": "evernote-to-sqlite"}, "uses": "actions/checkout@v2", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138687, "seq": 2, "job": {"value": 27834, "label": "test"}, "repo": {"value": 303218369, "label": "evernote-to-sqlite"}, "uses": "actions/setup-python@v2", "name": "Set up Python ${{ matrix.python-version }}", "with": "{\"python-version\": \"${{ matrix.python-version }}\"}", "run": null, "env": null, "if": null} {"id": 138688, "seq": 3, "job": {"value": 27834, "label": "test"}, "repo": {"value": 303218369, "label": "evernote-to-sqlite"}, "uses": "actions/cache@v2", "name": "Configure pip caching", "with": "{\"path\": \"~/.cache/pip\", \"key\": \"${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\", \"restore-keys\": \"${{ runner.os }}-pip-\\n\"}", "run": null, "env": null, "if": null} {"id": 138689, "seq": 4, "job": {"value": 27834, "label": "test"}, "repo": {"value": 303218369, "label": "evernote-to-sqlite"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install -e '.[test]'\n", "env": null, "if": null} {"id": 138690, "seq": 5, "job": {"value": 27834, "label": "test"}, "repo": {"value": 303218369, "label": "evernote-to-sqlite"}, "uses": null, "name": "Run tests", "with": null, "run": "pytest\n", "env": null, "if": null} {"id": 138691, "seq": 1, "job": {"value": 27835, "label": "deploy"}, "repo": {"value": 303218369, "label": "evernote-to-sqlite"}, "uses": "actions/checkout@v2", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138692, "seq": 2, "job": {"value": 27835, "label": "deploy"}, "repo": {"value": 303218369, "label": "evernote-to-sqlite"}, "uses": "actions/setup-python@v2", "name": "Set up Python", "with": "{\"python-version\": \"3.9\"}", "run": null, "env": null, "if": null} {"id": 138693, "seq": 3, "job": {"value": 27835, "label": "deploy"}, "repo": {"value": 303218369, "label": "evernote-to-sqlite"}, "uses": "actions/cache@v2", "name": "Configure pip caching", "with": "{\"path\": \"~/.cache/pip\", \"key\": \"${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}\", \"restore-keys\": \"${{ runner.os }}-publish-pip-\\n\"}", "run": null, "env": null, "if": null} {"id": 138694, "seq": 4, "job": {"value": 27835, "label": "deploy"}, "repo": {"value": 303218369, "label": "evernote-to-sqlite"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install setuptools wheel twine\n", "env": null, "if": null} {"id": 138695, "seq": 5, "job": {"value": 27835, "label": "deploy"}, "repo": {"value": 303218369, "label": "evernote-to-sqlite"}, "uses": null, "name": "Publish", "with": null, "run": "python setup.py sdist bdist_wheel\ntwine upload dist/*\n", "env": "{\"TWINE_USERNAME\": \"__token__\", \"TWINE_PASSWORD\": \"${{ secrets.PYPI_TOKEN }}\"}", "if": null} {"id": 138696, "seq": 1, "job": {"value": 27836, "label": "test"}, "repo": {"value": 303218369, "label": "evernote-to-sqlite"}, "uses": "actions/checkout@v2", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138697, "seq": 2, "job": {"value": 27836, "label": "test"}, "repo": {"value": 303218369, "label": "evernote-to-sqlite"}, "uses": "actions/setup-python@v2", "name": "Set up Python ${{ matrix.python-version }}", "with": "{\"python-version\": \"${{ matrix.python-version }}\"}", "run": null, "env": null, "if": null} {"id": 138698, "seq": 3, "job": {"value": 27836, "label": "test"}, "repo": {"value": 303218369, "label": "evernote-to-sqlite"}, "uses": "actions/cache@v2", "name": "Configure pip caching", "with": "{\"path\": \"~/.cache/pip\", \"key\": \"${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\", \"restore-keys\": \"${{ runner.os }}-pip-\\n\"}", "run": null, "env": null, "if": null} {"id": 138699, "seq": 4, "job": {"value": 27836, "label": "test"}, "repo": {"value": 303218369, "label": "evernote-to-sqlite"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install -e '.[test]'\n", "env": null, "if": null} {"id": 138700, "seq": 5, "job": {"value": 27836, "label": "test"}, "repo": {"value": 303218369, "label": "evernote-to-sqlite"}, "uses": null, "name": "Run tests", "with": null, "run": "pytest\n", "env": null, "if": null} {"id": 138701, "seq": 1, "job": {"value": 27837, "label": "scheduled"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": "actions/checkout@v2", "name": "Check out repo", "with": null, "run": null, "env": null, "if": null} {"id": 138702, "seq": 2, "job": {"value": 27837, "label": "scheduled"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": "actions/setup-python@v1", "name": "Set up Python", "with": "{\"python-version\": \"3.9\"}", "run": null, "env": null, "if": null} {"id": 138703, "seq": 3, "job": {"value": 27837, "label": "scheduled"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": "actions/cache@v1", "name": "Configure pip caching", "with": "{\"path\": \"~/.cache/pip\", \"key\": \"${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\", \"restore-keys\": \"${{ runner.os }}-pip-\\n\"}", "run": null, "env": null, "if": null} {"id": 138704, "seq": 4, "job": {"value": 27837, "label": "scheduled"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": null, "name": "Install Python dependencies", "with": null, "run": "python -m pip install --upgrade pip\npip install sqlite-utils>=3.1\nsqlite-utils --version\npip install -e .\npip install datasette\npip install bs4\n", "env": null, "if": null} {"id": 138705, "seq": 5, "job": {"value": 27837, "label": "scheduled"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": null, "name": "Create auth.json", "with": null, "run": "echo \"{\\\"github_personal_token\\\": \\\"$GITHUB_ACCESS_TOKEN\\\"}\" > auth.json\n", "env": "{\"GITHUB_ACCESS_TOKEN\": \"${{ secrets.GH_TOKEN }}\"}", "if": null} {"id": 138706, "seq": 6, "job": {"value": 27837, "label": "scheduled"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": null, "name": "Fetch previous copy of database", "with": null, "run": "# So we can keep track of when we first saw each dependent repo\nwget https://github-to-sqlite.dogsheep.net/github.db", "env": null, "if": "!contains(github.event.head_commit.message, 'REFRESH_DB')"} {"id": 138707, "seq": 7, "job": {"value": 27837, "label": "scheduled"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": null, "name": "Fetch the repos", "with": null, "run": "github-to-sqlite repos github.db dogsheep\nsqlite-utils tables --counts github.db", "env": null, "if": null} {"id": 138708, "seq": 8, "job": {"value": 27837, "label": "scheduled"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": null, "name": "Fetch releases, commits, issues, contributors", "with": null, "run": "sqlite-utils github.db \"select full_name from repos where owner = 53015001 union select 'simonw/datasette' as full_name union select 'simonw/sqlite-utils' as full_name\" \\\n --csv --no-headers | while read repo;\n do github-to-sqlite releases \\\n github.db $(echo $repo | tr -d '\\r');\n sleep 10;\n github-to-sqlite commits \\\n github.db $(echo $repo | tr -d '\\r');\n sleep 10;\n github-to-sqlite tags \\\n github.db $(echo $repo | tr -d '\\r');\n sleep 10;\n github-to-sqlite contributors \\\n github.db $(echo $repo | tr -d '\\r');\n sleep 10;\n github-to-sqlite issues \\\n github.db $(echo $repo | tr -d '\\r');\n sleep 10;\n github-to-sqlite pull-requests \\\n github.db $(echo $repo | tr -d '\\r');\n sleep 10;\n github-to-sqlite issue-comments \\\n github.db $(echo $repo | tr -d '\\r');\n sleep 10;\n github-to-sqlite stargazers \\\n github.db $(echo $repo | tr -d '\\r');\n sleep 10;\n github-to-sqlite workflows \\\n github.db $(echo $repo | tr -d '\\r');\n sleep 10;\n done;\n# Scrape dependents\ngithub-to-sqlite scrape-dependents github.db simonw/datasette simonw/sqlite-utils -v\nsqlite-utils tables --counts github.db\n# Delete email addresses from raw_authors\nsqlite-utils github.db \"update raw_authors set email = ''\"\n# Fetch emojis\ngithub-to-sqlite emojis github.db --fetch\n# Rebuild FTS tables\nsqlite-utils rebuild-fts github.db\n# Populate _analyze_tables_ table\nsqlite-utils analyze-tables github.db --save", "env": null, "if": null} {"id": 138709, "seq": 9, "job": {"value": 27837, "label": "scheduled"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": "actions/upload-artifact@v2", "name": null, "with": "{\"path\": \"github.db\"}", "run": null, "env": null, "if": null} {"id": 138710, "seq": 10, "job": {"value": 27837, "label": "scheduled"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": "google-github-actions/setup-gcloud@v0", "name": "Set up Cloud Run", "with": "{\"version\": \"318.0.0\", \"service_account_email\": \"${{ secrets.GCP_SA_EMAIL }}\", \"service_account_key\": \"${{ secrets.GCP_SA_KEY }}\"}", "run": null, "env": null, "if": null} {"id": 138711, "seq": 11, "job": {"value": 27837, "label": "scheduled"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": null, "name": "Deploy to Cloud Run", "with": null, "run": "gcloud config set run/region us-central1\ngcloud config set project datasette-222320\ndatasette publish cloudrun github.db \\\n -m demo-metadata.json \\\n --service github-to-sqlite \\\n --install=datasette-search-all>=0.3 \\\n --install=datasette-render-markdown>=1.1.2 \\\n --install=datasette-pretty-json>=0.2.2 \\\n --install=datasette-json-html \\\n --install=datasette-vega \\\n --install=datasette-render-images \\\n --install=datasette-graphql \\\n --install=datasette-atom", "env": null, "if": null} {"id": 138712, "seq": 1, "job": {"value": 27838, "label": "test"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": "actions/checkout@v2", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138713, "seq": 2, "job": {"value": 27838, "label": "test"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": "actions/setup-python@v2", "name": "Set up Python ${{ matrix.python-version }}", "with": "{\"python-version\": \"${{ matrix.python-version }}\"}", "run": null, "env": null, "if": null} {"id": 138714, "seq": 3, "job": {"value": 27838, "label": "test"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": "actions/cache@v2", "name": "Configure pip caching", "with": "{\"path\": \"~/.cache/pip\", \"key\": \"${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\", \"restore-keys\": \"${{ runner.os }}-pip-\\n\"}", "run": null, "env": null, "if": null} {"id": 138715, "seq": 4, "job": {"value": 27838, "label": "test"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install -e '.[test]'\n", "env": null, "if": null} {"id": 138716, "seq": 5, "job": {"value": 27838, "label": "test"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": null, "name": "Run tests", "with": null, "run": "pytest\n", "env": null, "if": null} {"id": 138717, "seq": 1, "job": {"value": 27839, "label": "deploy"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": "actions/checkout@v2", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138718, "seq": 2, "job": {"value": 27839, "label": "deploy"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": "actions/setup-python@v2", "name": "Set up Python", "with": "{\"python-version\": \"3.11\"}", "run": null, "env": null, "if": null} {"id": 138719, "seq": 3, "job": {"value": 27839, "label": "deploy"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": "actions/cache@v2", "name": "Configure pip caching", "with": "{\"path\": \"~/.cache/pip\", \"key\": \"${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}\", \"restore-keys\": \"${{ runner.os }}-publish-pip-\\n\"}", "run": null, "env": null, "if": null} {"id": 138720, "seq": 4, "job": {"value": 27839, "label": "deploy"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install setuptools wheel twine\n", "env": null, "if": null} {"id": 138721, "seq": 5, "job": {"value": 27839, "label": "deploy"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": null, "name": "Publish", "with": null, "run": "python setup.py sdist bdist_wheel\ntwine upload dist/*\n", "env": "{\"TWINE_USERNAME\": \"__token__\", \"TWINE_PASSWORD\": \"${{ secrets.PYPI_TOKEN }}\"}", "if": null} {"id": 138722, "seq": 1, "job": {"value": 27840, "label": "build"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": "actions/checkout@v2", "name": "Check out repo", "with": null, "run": null, "env": null, "if": null} {"id": 138723, "seq": 2, "job": {"value": 27840, "label": "build"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": null, "name": "Update TOC", "with": null, "run": "npx markdown-toc README.md -i", "env": null, "if": null} {"id": 138724, "seq": 3, "job": {"value": 27840, "label": "build"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": null, "name": "Commit and push if README changed", "with": null, "run": "git diff\ngit config --global user.email \"readme-bot@example.com\"\ngit config --global user.name \"README-bot\"\ngit diff --quiet || (git add README.md && git commit -m \"Updated README\")\ngit push", "env": null, "if": null} {"id": 138725, "seq": 1, "job": {"value": 27841, "label": "test"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": "actions/checkout@v2", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138726, "seq": 2, "job": {"value": 27841, "label": "test"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": "actions/setup-python@v2", "name": "Set up Python ${{ matrix.python-version }}", "with": "{\"python-version\": \"${{ matrix.python-version }}\"}", "run": null, "env": null, "if": null} {"id": 138727, "seq": 3, "job": {"value": 27841, "label": "test"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": "actions/cache@v2", "name": "Configure pip caching", "with": "{\"path\": \"~/.cache/pip\", \"key\": \"${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\", \"restore-keys\": \"${{ runner.os }}-pip-\\n\"}", "run": null, "env": null, "if": null} {"id": 138728, "seq": 4, "job": {"value": 27841, "label": "test"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install -e '.[test]'\n", "env": null, "if": null} {"id": 138729, "seq": 5, "job": {"value": 27841, "label": "test"}, "repo": {"value": 207052882, "label": "github-to-sqlite"}, "uses": null, "name": "Run tests", "with": null, "run": "pytest\n", "env": null, "if": null} {"id": 138730, "seq": 1, "job": {"value": 27842, "label": "test"}, "repo": {"value": 248903544, "label": "hacker-news-to-sqlite"}, "uses": "actions/checkout@v2", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138731, "seq": 2, "job": {"value": 27842, "label": "test"}, "repo": {"value": 248903544, "label": "hacker-news-to-sqlite"}, "uses": "actions/setup-python@v2", "name": "Set up Python ${{ matrix.python-version }}", "with": "{\"python-version\": \"${{ matrix.python-version }}\"}", "run": null, "env": null, "if": null} {"id": 138732, "seq": 3, "job": {"value": 27842, "label": "test"}, "repo": {"value": 248903544, "label": "hacker-news-to-sqlite"}, "uses": "actions/cache@v2", "name": "Configure pip caching", "with": "{\"path\": \"~/.cache/pip\", \"key\": \"${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\", \"restore-keys\": \"${{ runner.os }}-pip-\\n\"}", "run": null, "env": null, "if": null} {"id": 138733, "seq": 4, "job": {"value": 27842, "label": "test"}, "repo": {"value": 248903544, "label": "hacker-news-to-sqlite"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install -e '.[test]'\n", "env": null, "if": null} {"id": 138734, "seq": 5, "job": {"value": 27842, "label": "test"}, "repo": {"value": 248903544, "label": "hacker-news-to-sqlite"}, "uses": null, "name": "Run tests", "with": null, "run": "pytest\n", "env": null, "if": null} {"id": 138735, "seq": 1, "job": {"value": 27843, "label": "deploy"}, "repo": {"value": 248903544, "label": "hacker-news-to-sqlite"}, "uses": "actions/checkout@v2", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138736, "seq": 2, "job": {"value": 27843, "label": "deploy"}, "repo": {"value": 248903544, "label": "hacker-news-to-sqlite"}, "uses": "actions/setup-python@v2", "name": "Set up Python", "with": "{\"python-version\": \"3.9\"}", "run": null, "env": null, "if": null} {"id": 138737, "seq": 3, "job": {"value": 27843, "label": "deploy"}, "repo": {"value": 248903544, "label": "hacker-news-to-sqlite"}, "uses": "actions/cache@v2", "name": "Configure pip caching", "with": "{\"path\": \"~/.cache/pip\", \"key\": \"${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}\", \"restore-keys\": \"${{ runner.os }}-publish-pip-\\n\"}", "run": null, "env": null, "if": null} {"id": 138738, "seq": 4, "job": {"value": 27843, "label": "deploy"}, "repo": {"value": 248903544, "label": "hacker-news-to-sqlite"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install setuptools wheel twine\n", "env": null, "if": null} {"id": 138739, "seq": 5, "job": {"value": 27843, "label": "deploy"}, "repo": {"value": 248903544, "label": "hacker-news-to-sqlite"}, "uses": null, "name": "Publish", "with": null, "run": "python setup.py sdist bdist_wheel\ntwine upload dist/*\n", "env": "{\"TWINE_USERNAME\": \"__token__\", \"TWINE_PASSWORD\": \"${{ secrets.PYPI_TOKEN }}\"}", "if": null} {"id": 138740, "seq": 1, "job": {"value": 27844, "label": "test"}, "repo": {"value": 248903544, "label": "hacker-news-to-sqlite"}, "uses": "actions/checkout@v2", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138741, "seq": 2, "job": {"value": 27844, "label": "test"}, "repo": {"value": 248903544, "label": "hacker-news-to-sqlite"}, "uses": "actions/setup-python@v2", "name": "Set up Python ${{ matrix.python-version }}", "with": "{\"python-version\": \"${{ matrix.python-version }}\"}", "run": null, "env": null, "if": null} {"id": 138742, "seq": 3, "job": {"value": 27844, "label": "test"}, "repo": {"value": 248903544, "label": "hacker-news-to-sqlite"}, "uses": "actions/cache@v2", "name": "Configure pip caching", "with": "{\"path\": \"~/.cache/pip\", \"key\": \"${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\", \"restore-keys\": \"${{ runner.os }}-pip-\\n\"}", "run": null, "env": null, "if": null} {"id": 138743, "seq": 4, "job": {"value": 27844, "label": "test"}, "repo": {"value": 248903544, "label": "hacker-news-to-sqlite"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install -e '.[test]'\n", "env": null, "if": null} {"id": 138744, "seq": 5, "job": {"value": 27844, "label": "test"}, "repo": {"value": 248903544, "label": "hacker-news-to-sqlite"}, "uses": null, "name": "Run tests", "with": null, "run": "pytest\n", "env": null, "if": null} {"id": 138745, "seq": 1, "job": {"value": 27845, "label": "test"}, "repo": {"value": 197882382, "label": "healthkit-to-sqlite"}, "uses": "actions/checkout@v2", "name": null, "with": null, "run": null, "env": null, "if": null} {"id": 138746, "seq": 2, "job": {"value": 27845, "label": "test"}, "repo": {"value": 197882382, "label": "healthkit-to-sqlite"}, "uses": "actions/setup-python@v2", "name": "Set up Python ${{ matrix.python-version }}", "with": "{\"python-version\": \"${{ matrix.python-version }}\"}", "run": null, "env": null, "if": null} {"id": 138747, "seq": 3, "job": {"value": 27845, "label": "test"}, "repo": {"value": 197882382, "label": "healthkit-to-sqlite"}, "uses": "actions/cache@v2", "name": "Configure pip caching", "with": "{\"path\": \"~/.cache/pip\", \"key\": \"${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\", \"restore-keys\": \"${{ runner.os }}-pip-\\n\"}", "run": null, "env": null, "if": null} {"id": 138748, "seq": 4, "job": {"value": 27845, "label": "test"}, "repo": {"value": 197882382, "label": "healthkit-to-sqlite"}, "uses": null, "name": "Install dependencies", "with": null, "run": "pip install -e '.[test]'\n", "env": null, "if": null} {"id": 138749, "seq": 5, "job": {"value": 27845, "label": "test"}, "repo": {"value": 197882382, "label": "healthkit-to-sqlite"}, "uses": null, "name": "Run tests", "with": null, "run": "pytest\n", "env": null, "if": null} {"id": 138750, "seq": 1, "job": {"value": 27846, "label": "deploy"}, "repo": {"value": 197882382, "label": "healthkit-to-sqlite"}, "uses": "actions/checkout@v2", "name": null, "with": null, "run": null, "env": null, "if": null}