diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 40242c52..2fa61581 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -8,13 +8,13 @@ jobs: name: 🔨 Build distribution runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: 🏗 Set up Python 3.11 - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: - python-version: 3.11 + python-version: '3.11' - name: 🏗 Install build dependencies run: | python -m pip install -U wheel build setuptools --user @@ -22,7 +22,7 @@ jobs: run: | python -m build --wheel - name: ⬆ Upload build result - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: dist path: dist @@ -49,11 +49,11 @@ jobs: name: 🔨 Build dependencies and upload runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: 🏗 Set up Python 3.11 - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: 🏗 Install dependencies @@ -78,7 +78,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Get Latest Release id: get-latest-release run: | @@ -103,7 +103,7 @@ jobs: needs: [build, build-deps, fetch-pioreactorui-release] steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Download release assets run: | curl -s https://api.github.com/repos/pioreactor/pioreactor/releases/tags/${{ github.event.release.tag_name }} | jq -r '.assets[].browser_download_url' > assets.txt @@ -143,7 +143,7 @@ jobs: needs: build steps: - name: ⬇ Download build result - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: dist path: dist @@ -161,7 +161,7 @@ jobs: run: | echo "PIOREACTOR_VERSION=$GITHUB_REF_NAME" >> $GITHUB_ENV - name: 🚀 Repository Dispatch - uses: peter-evans/repository-dispatch@v1 + uses: peter-evans/repository-dispatch@v3 with: token: ${{ secrets.REPODISPATCH_TOKEN }} repository: Pioreactor/CustoPizer diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f13ca09d..22842b74 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,10 +13,10 @@ jobs: steps: - name: Checkout source - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/pioreactor/tests/test_od_reading.py b/pioreactor/tests/test_od_reading.py index 3a5c436e..d45d5038 100644 --- a/pioreactor/tests/test_od_reading.py +++ b/pioreactor/tests/test_od_reading.py @@ -579,7 +579,7 @@ def test_determine_best_ir_led_intensity_values() -> None: {"1": 0.05, "2": 0.02}, # on {"1": 0.001, "2": 0.001}, # blank ) - == 85.0 + == 80.0 ) assert (