diff --git a/.github/workflows/publish-gh-release.yml b/.github/workflows/publish-gh-release.yml index 94a3303..66591cd 100644 --- a/.github/workflows/publish-gh-release.yml +++ b/.github/workflows/publish-gh-release.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Generate Changelog diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index 9bd1c75..cfd5b0c 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -12,9 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" - name: Install dependencies @@ -35,14 +35,14 @@ jobs: run: python -m pip install synced_collections --progress-bar off --no-index -f dist/ - name: Run MongoDB - uses: supercharge/mongodb-github-action@1.9.0 + uses: supercharge/mongodb-github-action@1.10.0 - name: Run Redis - uses: supercharge/redis-github-action@1.5.0 + uses: supercharge/redis-github-action@1.8.0 - name: Test with pytest run: python -m pytest -v tests/ - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: release path: dist/ @@ -54,7 +54,7 @@ jobs: id-token: write steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: release path: dist/ diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 5b48af7..eb010fd 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -29,9 +29,9 @@ jobs: {python: '3.11', dependencies: 'minimal'}, {python: '3.8', dependencies: 'oldest'} ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.config.python }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.config.python }} - name: Install newest dependencies @@ -55,14 +55,14 @@ jobs: run: | pip install -e . - name: Run MongoDB - uses: supercharge/mongodb-github-action@1.9.0 + uses: supercharge/mongodb-github-action@1.10.0 if: ${{ matrix.os == 'ubuntu-latest' && matrix.config.dependencies != 'minimal' }} - name: Run Redis - uses: supercharge/redis-github-action@1.5.0 + uses: supercharge/redis-github-action@1.8.0 if: ${{ matrix.os == 'ubuntu-latest' && matrix.config.dependencies != 'minimal' }} - name: Test with pytest run: | pytest -rs --cov=synced_collections --cov-config=pyproject.toml --cov-report=xml tests/ -v - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }}