diff --git a/.circleci/config.yml b/.circleci/config.yml index caa45f00..3bb5663d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,9 +24,9 @@ jobs: - run: name: Lint Python command: | - ruff check --line-length 90 tsdate setup.py tests + pre-commit run --all - save_cache: - key: tsdate-{{ checksum "data/prior_1000df.bak" }} + key: tsdate-{{ checksum "data/prior_1000df.bak" }} paths: - data/prior_1000df.bak - tsdate/prior_1000df.txt diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 1d010ae1..b2e3f9cb 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -31,7 +31,7 @@ jobs: python -m build - name: Upload - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sdist-wheel path: dist @@ -45,7 +45,7 @@ jobs: python: [3.8, 3.8, 3.9, "3.10", 3.11] steps: - name: Download wheels - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4 with: name: sdist-wheel - name: Set up Python ${{ matrix.python }} @@ -71,7 +71,7 @@ jobs: wordsize: [64] steps: - name: Download wheels - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4 with: name: sdist-wheel - name: Set up Python ${{ matrix.python }} @@ -96,7 +96,7 @@ jobs: python: [3.8, 3.9, "3.10", 3.11] steps: - name: Download wheels - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4 with: name: sdist-wheel - name: Set up Python @@ -122,7 +122,7 @@ jobs: id-token: write steps: - name: Download all - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4 - name: Move to dist run: | mkdir dist