github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
138653 | 1 | 27827 | 611552758 | actions/checkout@v3 | |||||
138657 | 1 | 27828 | 611552758 | actions/checkout@v3 | |||||
138661 | 1 | 27829 | 611552758 | actions/checkout@v3 | |||||
138666 | 1 | 27830 | 197431109 | actions/checkout@v2 | |||||
138671 | 1 | 27831 | 197431109 | actions/checkout@v2 | |||||
138676 | 1 | 27832 | 197431109 | actions/checkout@v2 | |||||
138681 | 1 | 27833 | 256834907 | actions/checkout@v2 | |||||
138686 | 1 | 27834 | 303218369 | actions/checkout@v2 | |||||
138691 | 1 | 27835 | 303218369 | actions/checkout@v2 | |||||
138696 | 1 | 27836 | 303218369 | actions/checkout@v2 | |||||
138709 | 9 | 27837 | 207052882 | actions/upload-artifact@v2 | { "path": "github.db" } |
||||
138712 | 1 | 27838 | 207052882 | actions/checkout@v2 | |||||
138717 | 1 | 27839 | 207052882 | actions/checkout@v2 | |||||
138725 | 1 | 27841 | 207052882 | actions/checkout@v2 | |||||
138730 | 1 | 27842 | 248903544 | actions/checkout@v2 | |||||
138735 | 1 | 27843 | 248903544 | actions/checkout@v2 | |||||
138740 | 1 | 27844 | 248903544 | actions/checkout@v2 | |||||
138745 | 1 | 27845 | 197882382 | actions/checkout@v2 | |||||
138750 | 1 | 27846 | 197882382 | actions/checkout@v2 | |||||
138755 | 1 | 27847 | 197882382 | actions/checkout@v2 | |||||
138760 | 1 | 27848 | 213286752 | actions/checkout@v3 | |||||
138764 | 1 | 27849 | 213286752 | actions/checkout@v3 | |||||
138768 | 1 | 27850 | 213286752 | actions/checkout@v3 | |||||
138772 | 1 | 27851 | 205429375 | actions/checkout@v3 | |||||
138776 | 1 | 27852 | 205429375 | actions/checkout@v3 | |||||
138780 | 1 | 27853 | 205429375 | actions/checkout@v3 | |||||
138784 | 1 | 27854 | 206156866 | actions/checkout@v2 | |||||
138789 | 1 | 27855 | 206156866 | actions/checkout@v2 | |||||
138797 | 1 | 27857 | 206156866 | actions/checkout@v2 | |||||
138802 | 1 | 27858 | 107914493 | actions/checkout@v3 | |||||
138818 | 1 | 27860 | 107914493 | readthedocs/actions/preview@v1 | { "project-slug": "datasette" } |
||||
138823 | 1 | 27862 | 107914493 | actions/checkout@v3 | |||||
138828 | 1 | 27863 | 107914493 | actions/checkout@v3 | |||||
138833 | 1 | 27864 | 107914493 | actions/checkout@v2 | |||||
138840 | 1 | 27865 | 107914493 | actions/checkout@v2 | |||||
138842 | 1 | 27866 | 107914493 | actions/checkout@v2 | |||||
138844 | 1 | 27867 | 107914493 | actions/checkout@v4 | |||||
138854 | 1 | 27869 | 107914493 | actions/checkout@v3 | |||||
138859 | 1 | 27870 | 107914493 | actions/checkout@v3 | |||||
138869 | 1 | 27871 | 107914493 | actions/checkout@v2 | |||||
138871 | 1 | 27872 | 107914493 | actions/checkout@v2 | |||||
138874 | 2 | 27873 | 140912432 | git checkout HEAD^2 | ${{ github.event_name == 'pull_request' }} | ||||
138878 | 1 | 27874 | 140912432 | readthedocs/actions/preview@v1 | { "project-slug": "sqlite-utils" } |
||||
138879 | 1 | 27875 | 140912432 | actions/checkout@v3 | |||||
138884 | 1 | 27876 | 140912432 | actions/checkout@v3 | |||||
138889 | 1 | 27877 | 140912432 | actions/checkout@v2 | |||||
138901 | 1 | 27879 | 140912432 | actions/checkout@v3 | |||||
138814 | 9 | 27859 | 107914493 | And the counters writable canned query demo | cat > plugins/counters.py <<EOF from datasette import hookimpl @hookimpl def startup(datasette): db = datasette.add_memory_database("counters") async def inner(): await db.execute_write("create table if not exists counters (name text primary key, value integer)") await db.execute_write("insert or ignore into counters (name, value) values ('counter_a', 0)") await db.execute_write("insert or ignore into counters (name, value) values ('counter_b', 0)") await db.execute_write("insert or ignore into counters (name, value) values ('counter_c', 0)") return inner @hookimpl def canned_queries(database): if database == "counters": queries = {} for name in ("counter_a", "counter_b", "counter_c"): queries["increment_{}".format(name)] = { "sql": "update counters set value = value + 1 where name = '{}'".format(name), "on_success_message_sql": "select 'Counter {name} incremented to ' || value from counters where name = '{name}'".format(name=name), "write": True, } queries["decrement_{}".format(name)] = { "sql": "update counters set value = value - 1 where name = '{}'".format(name), "on_success_message_sql": "select 'Counter {name} decremented to ' || value from counters where name = '{name}'".format(name=name), "write": True, } return queries EOF | ||||
138876 | 4 | 27873 | 140912432 | github/codeql-action/autobuild@v1 | Autobuild | ||||
138841 | 2 | 27865 | 107914493 | Build and push to Docker Hub | sleep 60 # Give PyPI time to make the new release available docker login -u $DOCKER_USER -p $DOCKER_PASS export REPO=datasetteproject/datasette docker build -f Dockerfile \ -t $REPO:${GITHUB_REF#refs/tags/} \ --build-arg VERSION=${GITHUB_REF#refs/tags/} . docker tag $REPO:${GITHUB_REF#refs/tags/} $REPO:latest docker push $REPO:${GITHUB_REF#refs/tags/} docker push $REPO:latest | { "DOCKER_USER": "${{ secrets.DOCKER_USER }}", "DOCKER_PASS": "${{ secrets.DOCKER_PASS }}" } |
|||
138843 | 2 | 27866 | 107914493 | Build and push to Docker Hub | docker login -u $DOCKER_USER -p $DOCKER_PASS export REPO=datasetteproject/datasette docker build -f Dockerfile \ -t $REPO:${VERSION_TAG} \ --build-arg VERSION=${VERSION_TAG} . docker push $REPO:${VERSION_TAG} | { "DOCKER_USER": "${{ secrets.DOCKER_USER }}", "DOCKER_PASS": "${{ secrets.DOCKER_PASS }}", "VERSION_TAG": "${{ github.event.inputs.version_tag }}" } |
|||
138812 | 7 | 27859 | 107914493 | Build docs.db | cd docs DISABLE_SPHINX_INLINE_TABS=1 sphinx-build -b xml . _build sphinx-to-sqlite ../docs.db _build cd .. | ${{ github.ref == 'refs/heads/main' }} | |||
138837 | 5 | 27864 | 107914493 | Build docs.db | cd docs DISABLE_SPHINX_INLINE_TABS=1 sphinx-build -b xml . _build sphinx-to-sqlite ../docs.db _build cd .. | ||||
138862 | 4 | 27870 | 107914493 | Build extension for --load-extension test | (cd tests && gcc ext.c -fPIC -shared -o ext.so) | ||||
138909 | 9 | 27879 | 140912432 | Build extension for --load-extension test | (cd tests && gcc ext.c -fPIC -shared -o ext.so && ls -lah) | matrix.os == 'ubuntu-latest' | |||
138811 | 6 | 27859 | 107914493 | Build fixtures.db and other files needed to deploy the demo | python tests/fixtures.py \ fixtures.db \ fixtures-config.json \ fixtures-metadata.json \ plugins \ --extra-db-filename extra_database.db | ||||
138856 | 3 | 27869 | 107914493 | actions/cache@v2 | Cache Playwright browsers | { "path": "~/.cache/ms-playwright/", "key": "${{ runner.os }}-browsers" } |
|||
138913 | 13 | 27879 | 140912432 | Check formatting | black . --check | ||||
138665 | 5 | 27829 | 611552758 | Check if README is up-to-date | cog --check README.md | ||||
138867 | 9 | 27870 | 107914493 | Check if blacken-docs needs to be run | # This fails on syntax errors, or a diff was applied blacken-docs -l 60 docs/*.rst | matrix.python-version != '3.8' | |||
138866 | 8 | 27870 | 107914493 | Check if cog needs to be run | cog --check docs/*.rst | matrix.python-version != '3.8' | |||
138914 | 14 | 27879 | 140912432 | Check if cog needs to be run | cog --check README.md docs/*.rst | matrix.python-version != '3.7' | |||
138806 | 1 | 27859 | 107914493 | actions/checkout@v3 | Check out datasette | ||||
138848 | 1 | 27868 | 107914493 | actions/checkout@v2 | Check out datasette | ||||
138701 | 1 | 27837 | 207052882 | actions/checkout@v2 | Check out repo | ||||
138722 | 1 | 27840 | 207052882 | actions/checkout@v2 | Check out repo | ||||
138794 | 1 | 27856 | 206156866 | actions/checkout@v2 | Check out repo | ||||
138819 | 1 | 27861 | 107914493 | actions/checkout@v2 | Check out repo | ||||
138894 | 1 | 27878 | 140912432 | actions/checkout@v2 | Check out repo | ||||
138847 | 4 | 27867 | 107914493 | Check spelling | codespell README.md --ignore-words docs/codespell-ignore-words.txt codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt codespell datasette -S datasette/static --ignore-words docs/codespell-ignore-words.txt | ||||
138893 | 5 | 27877 | 140912432 | Check spelling | codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt codespell sqlite_utils --ignore-words docs/codespell-ignore-words.txt | ||||
138873 | 1 | 27873 | 140912432 | actions/checkout@v2 | Checkout repository | { "fetch-depth": 2 } |
|||
138724 | 3 | 27840 | 207052882 | Commit and push if README changed | git diff git config --global user.email "readme-bot@example.com" git config --global user.name "README-bot" git diff --quiet || (git add README.md && git commit -m "Updated README") git push | ||||
138796 | 3 | 27856 | 206156866 | Commit and push if README changed | git diff git config --global user.email "readme-bot@example.com" git config --global user.name "README-bot" git diff --quiet || (git add README.md && git commit -m "Updated README") git push | ||||
138820 | 2 | 27861 | 107914493 | actions/cache@v2 | Configure npm caching | { "path": "~/.npm", "key": "${{ runner.OS }}-npm-${{ hashFiles('**/package-lock.json') }}", "restore-keys": "${{ runner.OS }}-npm-\n" } |
|||
138668 | 3 | 27830 | 197431109 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138673 | 3 | 27831 | 197431109 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n" } |
|||
138678 | 3 | 27832 | 197431109 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138683 | 3 | 27833 | 256834907 | actions/cache@v1 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138688 | 3 | 27834 | 303218369 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138693 | 3 | 27835 | 303218369 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n" } |
|||
138698 | 3 | 27836 | 303218369 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138703 | 3 | 27837 | 207052882 | actions/cache@v1 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138714 | 3 | 27838 | 207052882 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138719 | 3 | 27839 | 207052882 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n" } |
|||
138727 | 3 | 27841 | 207052882 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138732 | 3 | 27842 | 248903544 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138737 | 3 | 27843 | 248903544 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n" } |
|||
138742 | 3 | 27844 | 248903544 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138747 | 3 | 27845 | 197882382 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138752 | 3 | 27846 | 197882382 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n" } |
|||
138757 | 3 | 27847 | 197882382 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138786 | 3 | 27854 | 206156866 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138791 | 3 | 27855 | 206156866 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n" } |
|||
138799 | 3 | 27857 | 206156866 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138808 | 3 | 27859 | 107914493 | actions/cache@v3 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138825 | 3 | 27862 | 107914493 | actions/cache@v3 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138830 | 3 | 27863 | 107914493 | actions/cache@v3 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n" } |
|||
138835 | 3 | 27864 | 107914493 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n" } |
|||
138850 | 3 | 27868 | 107914493 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138861 | 3 | 27870 | 107914493 | actions/cache@v3 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |