diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5351bb7..daac923 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,11 +14,11 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 with: python-version: 3.x - - uses: pre-commit/action@v3.0.1 + - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 # Make sure commit messages follow the conventional commits convention: # https://www.conventionalcommits.org @@ -26,10 +26,10 @@ jobs: name: Lint Commit Messages runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: fetch-depth: 0 - - uses: wagoid/commitlint-github-action@v6.2.1 + - uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6.2.1 test: strategy: @@ -46,11 +46,11 @@ jobs: - macOS-latest runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Install poetry run: pipx install poetry - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 id: setup-python with: python-version: ${{ matrix.python-version }} @@ -62,7 +62,7 @@ jobs: run: poetry run pytest shell: bash - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4 with: token: ${{ secrets.CODECOV_TOKEN }} @@ -81,7 +81,7 @@ jobs: contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: fetch-depth: 0 ref: ${{ github.sha }} @@ -92,21 +92,21 @@ jobs: # Do a dry run of PSR - name: Test release - uses: python-semantic-release/python-semantic-release@v9.21.1 + uses: python-semantic-release/python-semantic-release@0dc72ac9058a62054a45f6344c83a423d7f906a8 # v9.21.1 if: github.ref_name != 'main' with: root_options: --noop # On main branch: actual PSR + upload to PyPI & GitHub - name: Release - uses: python-semantic-release/python-semantic-release@v9.21.1 + uses: python-semantic-release/python-semantic-release@0dc72ac9058a62054a45f6344c83a423d7f906a8 # v9.21.1 id: release if: github.ref_name == 'main' with: github_token: ${{ secrets.GITHUB_TOKEN }} - name: Attest build provenance - uses: actions/attest-build-provenance@v1 + uses: actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v1 if: steps.release.outputs.released == 'true' with: subject-path: "dist/*" @@ -116,7 +116,7 @@ jobs: if: steps.release.outputs.released == 'true' - name: Publish package distributions to GitHub Releases - uses: python-semantic-release/publish-action@v9.21.1 + uses: python-semantic-release/publish-action@1aa9f41fac5d531e6764e1991b536783337f3a56 # v9.21.1 if: steps.release.outputs.released == 'true' with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/issue-manager.yml b/.github/workflows/issue-manager.yml index de5b0ad..d7b7bdc 100644 --- a/.github/workflows/issue-manager.yml +++ b/.github/workflows/issue-manager.yml @@ -18,7 +18,7 @@ jobs: issue-manager: runs-on: ubuntu-latest steps: - - uses: tiangolo/issue-manager@0.5.1 + - uses: tiangolo/issue-manager@f94f76c8fa2c48bb2982a099c29a0caadb92917e # 0.5.1 with: token: ${{ secrets.GITHUB_TOKEN }} config: > diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 230db33..873b913 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -11,9 +11,9 @@ jobs: labels: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 with: python-version: 3.x - name: Install labels diff --git a/.github/workflows/poetry-upgrade.yml b/.github/workflows/poetry-upgrade.yml index 346c542..f9fafb9 100644 --- a/.github/workflows/poetry-upgrade.yml +++ b/.github/workflows/poetry-upgrade.yml @@ -7,6 +7,6 @@ on: jobs: upgrade: - uses: browniebroke/github-actions/.github/workflows/poetry-upgrade.yml@v1 + uses: browniebroke/github-actions/.github/workflows/poetry-upgrade.yml@a4a8428c6f76ab8848c94c5a649fa809aacf8688 # v1 secrets: gh_pat: ${{ secrets.GH_PAT }} diff --git a/poetry.lock b/poetry.lock index 1601fab..ad95365 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2532,4 +2532,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "7b6c954d7e4a271b1181ed13c79f4c70764d82bc71253d3c096310d8e62e2938" +content-hash = "f378bad0a87402e47f5f7d48183fbd408cb7b89c02c725651d046ead10e3791a" diff --git a/pyproject.toml b/pyproject.toml index 0fffc6a..6d36811 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,8 +42,8 @@ account-codes-jp = "^0.4.0" cyclopts = "^3.9.3" [tool.poetry.group.dev.dependencies] -pytest = "^8.0.0" -pytest-cov = "^5.0.0" +pytest = "8.4.2" +pytest-cov = "5.0.0" [tool.poetry.group.docs] optional = true diff --git a/renovate.json b/renovate.json index 4fcf996..95d1781 100644 --- a/renovate.json +++ b/renovate.json @@ -7,9 +7,7 @@ ], "packageRules": [ { - "matchDepTypes": [ - "dependencies" - ], + "matchDepTypes": ["dependencies"], "rangeStrategy": "bump" } ]