diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index abe79d57..ff36e7a3 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -40,7 +40,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/run-all-tests.yml b/.github/workflows/run-all-tests.yml index a3c508a6..04527812 100644 --- a/.github/workflows/run-all-tests.yml +++ b/.github/workflows/run-all-tests.yml @@ -12,7 +12,7 @@ jobs: python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] steps: - - uses: actions/checkout@v3.2.0 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: @@ -32,7 +32,7 @@ jobs: python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] steps: - - uses: actions/checkout@v3.2.0 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: @@ -46,7 +46,7 @@ jobs: run: | pytest tests --cov=fastkml --cov=tests --cov-fail-under=88 --cov-report=xml - name: "Upload coverage to Codecov" - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true @@ -57,7 +57,7 @@ jobs: python-version: ['3.9'] steps: - - uses: actions/checkout@v3.2.0 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: @@ -87,7 +87,7 @@ jobs: matrix: pypy-version: ['pypy-3.7', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10'] steps: - - uses: actions/checkout@v3.2.0 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.pypy-version }} uses: actions/setup-python@v4 with: @@ -105,7 +105,7 @@ jobs: name: Build and publish to PyPI and TestPyPI runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.2.0 + - uses: actions/checkout@v4 - name: Set up Python 3.9 uses: actions/setup-python@v4 with: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c67b7bdf..b439c79a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,7 +34,7 @@ repos: - id: unimport args: [--remove, --include-star-import, --ignore-init, --gitignore] - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.10.1 hooks: - id: pyupgrade args: ["--py3-plus", "--py37-plus"]