diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml index 14c8b2800..0c112405b 100644 --- a/.github/workflows/build-docs.yaml +++ b/.github/workflows/build-docs.yaml @@ -15,10 +15,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone repo - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - name: Clone docs repo - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: repository: Nixtla/docs ref: scripts diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a7a83aae6..bae3338ce 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,10 +6,6 @@ on: pull_request: branches: [main] -defaults: - run: - shell: bash -l {0} - concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -21,26 +17,27 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-13, windows-latest] - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ["3.8", "3.9", "3.10", "3.11"] exclude: - os: windows-latest - python-version: '3.11' + python-version: "3.11" env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID_NIXTLA_TMP }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY_NIXTLA_TMP }} steps: - name: Clone repo - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - name: Set up environment - uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1.9.0 + uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # 5.2.0 with: - environment-file: environment-cpu.yml - create-args: python=${{ matrix.python-version }} - cache-environment: true + python-version: ${{ matrix.python-version }} - name: Install pip requirements - run: pip install ./ + run: > + pip install uv && + uv pip install --system -i https://download.pytorch.org/whl/cpu torch && + uv pip install --system "numpy<2" ".[dev]" - name: Tests run: nbdev_test --do_print --timing --n_workers 0 --flags polars diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index ee68ba5c4..93090fa88 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone repo - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - name: Set up python uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # 5.2.0 diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index a070bdfe9..ad1a8e4e4 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - name: Set up Python uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # 5.2.0 with: @@ -33,7 +33,7 @@ jobs: - name: Build package run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@897895f1e160c830e369f9779632ebc134688e1b # v1.10.2 + uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }}