diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 43fa7a0..3fda7b1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@c8813ba1bc76ebf779b911ad8ffccbf2e449cb48 with: python-version: "3.11" cache: "pip" @@ -34,4 +34,4 @@ jobs: - name: Build package run: hatch build - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 22084a3..a2e7f7c 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -30,7 +30,7 @@ jobs: - name: Set up Python ${{ matrix.python-version }} id: setup-python - uses: actions/setup-python@v4 + uses: actions/setup-python@c8813ba1bc76ebf779b911ad8ffccbf2e449cb48 with: python-version: ${{ matrix.python-version }} cache: pip @@ -59,7 +59,7 @@ jobs: run: echo PYTHON_TARGET="py${{ matrix.python-version }}" | sed -r "s/\.//" >> $GITHUB_ENV - name: Lint - uses: chartboost/ruff-action@491342200cdd1cf4d5132a30ddc546b3b5bc531b + uses: chartboost/ruff-action@1ec810db51b3ebdd902c812e962d2f7aafe85fcf with: args: check --target-version ${{ env.PYTHON_TARGET }} @@ -76,7 +76,7 @@ jobs: SYNAPSE_POSTGRES: ${{ matrix.database == 'postgres' || ''}} - name: Codecov - Upload coverage - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@ca0a928a4cb3911011e868128a5cd90437c12db1 with: token: ${{secrets.CODECOV_TOKEN}} files: "lcov.info"