diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 88f5f95d..40cdd6b2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,11 +7,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.x" - run: pip install pre-commit - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: pre-commit-cache with: path: ~/.cache/pre-commit diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b6d9678c..11a372f3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,15 +18,15 @@ jobs: fail-fast: true matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - python-version: [ "3.8", "3.9", "3.10", "3.11" ] - poetry-version: [ "1.1.15", "1.2.2", "1.3.2", "1.4.2", "1.5.1" ] + python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ] + poetry-version: [ "1.6.1", "1.7.1" ] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - uses: ./ with: version: "${{ matrix.poetry-version }}" - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "${{ matrix.python-version }}" - run: | @@ -41,23 +41,23 @@ jobs: fail-fast: true matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - python-version: [ "3.8", "3.9", "3.10", "3.11" ] + python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "${{ matrix.python-version }}" - uses: ./ with: - version: 1.5.1 + version: 1.7.1 virtualenvs-create: false virtualenvs-in-project: true virtualenvs-path: ~/.cache/test installer-parallel: false - run: | source .github/scripts/assert.sh - assert_in "1.5.1" "$(poetry --version)" + assert_in "1.7.1" "$(poetry --version)" assert_in "false" "$(poetry config virtualenvs.create)" assert_in "true" "$(poetry config virtualenvs.in-project)" assert_in "test" "$(poetry config virtualenvs.path)" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b02deb57..f4a9e67b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-merge-conflict - id: check-case-conflict @@ -10,7 +10,7 @@ repos: - id: mixed-line-ending - repo: https://github.com/sirosen/check-jsonschema - rev: 0.23.3 + rev: 0.27.3 hooks: - id: check-github-actions - id: check-github-workflows diff --git a/README.md b/README.md index 02fa889b..72e92b59 100644 --- a/README.md +++ b/README.md @@ -105,12 +105,12 @@ jobs: # check-out repo and set-up python #---------------------------------------------- - name: Check out repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up python id: setup-python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' #---------------------------------------------- # ----- install & configure poetry ----- #---------------------------------------------- @@ -170,8 +170,8 @@ jobs: #---------------------------------------------- # check-out repo and set-up python #---------------------------------------------- - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 #---------------------------------------------- # load pip cache if cache exists #---------------------------------------------- @@ -194,18 +194,18 @@ jobs: fail-fast: true matrix: os: [ "ubuntu-latest", "macos-latest" ] - python-version: [ "3.8", "3.9", "3.10", "3.11" ] - django-version: ["3", "4" ] + python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ] + django-version: [ "4", "5" ] runs-on: ${{ matrix.os }} steps: #---------------------------------------------- # check-out repo and set-up python #---------------------------------------------- - name: Check out repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up python ${{ matrix.python-version }} id: setup-python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} #---------------------------------------------- @@ -270,11 +270,11 @@ jobs: #---------------------------------------------- # check-out repo and set-up python #---------------------------------------------- - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 id: setup-python with: - python-version: '3.11' + python-version: '3.12' #---------------------------------------------- # ----- install & configure poetry ----- #---------------------------------------------- @@ -373,12 +373,12 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Check out repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up python id: setup-python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Install Poetry uses: snok/install-poetry@v1 with: @@ -490,11 +490,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository - 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' + python-version: '3.12' - name: Load cached Poetry installation id: cached-poetry uses: actions/cache@v3