From 50c13563b2fcbaed983e52f3d8dcd79faefc34bf Mon Sep 17 00:00:00 2001 From: Dylan Martin Date: Fri, 3 Jan 2025 15:50:21 -0500 Subject: [PATCH] fix: CI (#156) * test CI * heck it, upgrade python * okay don't do anything silly with the cache hits i guess * more CI upgrades :crossedfingers * upgrade all CI to latest versions, then * jk this is how python works * whackamole * what even * yeesh * this can't be it * if this breaks ill kms * dark magic dark MAGIC * im giving up on my dreams --- .github/workflows/ci.yml | 10 +++++----- .gitignore | 3 ++- example.py | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8b2178..4b1e80c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: with: python-version: 3.8 - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} @@ -47,14 +47,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 with: fetch-depth: 1 - - name: Set up Python 3.7 - uses: actions/setup-python@v1 + - name: Set up Python 3.8 + uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: 3.8 - name: Install requirements.txt dependencies with pip run: | diff --git a/.gitignore b/.gitignore index ee8b535..2ad6ffb 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,5 @@ pylint.out posthog-analytics .idea .python-version -.coverage \ No newline at end of file +.coverage +pyrightconfig.json \ No newline at end of file diff --git a/example.py b/example.py index 885fb56..8888e7e 100644 --- a/example.py +++ b/example.py @@ -1,7 +1,7 @@ # PostHog Python library example # Import the library -import time +# import time import posthog