Skip to content

Commit

Permalink
Update GitHub Action Versions (#312)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
jab and github-actions[bot] committed Apr 2, 2024
1 parent 9266b41 commit 4af0fe9
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/benchmark.yml
Expand Up @@ -24,15 +24,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: install valgrind
uses: awalsh128/cache-apt-pkgs-action@44c33b32f808cdddd5ac0366d70595ed63661ed8
uses: awalsh128/cache-apt-pkgs-action@a6c3917cc929dd0345bfb2d3feaf9101823370ad
with:
packages: valgrind
- name: check out source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0
- name: set up Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d
with:
# Pin to micro-release for better reproducibility.
# When upgrading to a new Python version, remember to upload new associated baseline
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
--benchmark-compare=baseline.json \
tests/microbenchmarks.py
- name: archive benchmark results
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
with:
name: microbenchmark results
path: .benchmarks
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: check out source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: set up Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d
with:
python-version: '3.12'
cache: pip
Expand All @@ -28,7 +28,7 @@ jobs:
python -m pip install -U pip setuptools wheel
python -m pip install pre-commit
- name: run pre-commit
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd
with:
extra_args: --all-files --verbose

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-to-pypi.yml
Expand Up @@ -13,14 +13,14 @@ jobs:
- name: check out source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: set up Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d
with:
python-version: '3.12'
- name: install dependencies
run: python -m pip install -U pip setuptools build
- run: python -m build
- name: Publish
uses: pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf
uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-to-test-pypi.yml
Expand Up @@ -21,13 +21,13 @@ jobs:
steps:
- name: check out source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d
with:
python-version: '3.12'
- run: python -m pip install -U pip setuptools build
- run: python -m build
- name: Publish
uses: pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf
uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: check out source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: set up Python ${{ matrix.pyversion }}
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d
with:
python-version: ${{ matrix.pyversion }}
cache: pip
Expand All @@ -58,7 +58,7 @@ jobs:
python -m pip install -U pip setuptools wheel
python -m pip install -r dev-deps/${{ matrix.deps_subdir || format('python{0}', matrix.pyversion) }}/test.txt
- name: cache .mypy_cache dir
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
with:
path: .mypy_cache
key: mypy
Expand All @@ -69,7 +69,7 @@ jobs:
hypothesis_profile=${{ github.event.inputs.hypothesis_profile || (github.event_name == 'schedule' && 'more-examples' || 'default') }}
echo PYTEST_ADDOPTS="${PYTEST_ADDOPTS} --hypothesis-profile=$hypothesis_profile" >> "${GITHUB_ENV}"
- name: cache .hypothesis dir
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
with:
path: .hypothesis
key: hypothesis|${{ runner.os }}|${{ matrix.pyversion }}
Expand All @@ -92,7 +92,7 @@ jobs:
coverage report
- name: maybe upload to Codecov # https://github.com/codecov/codecov-action
if: matrix.enable_coverage
uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044
uses: codecov/codecov-action@c16abc29c95fcf9174b58eb7e1abf4c866893bc8
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update_dev_deps.yml
Expand Up @@ -13,13 +13,13 @@ jobs:
- name: check out code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: install Nix
uses: DeterminateSystems/nix-installer-action@cd46bde16ab981b0a7b2dce0574509104543276e
uses: DeterminateSystems/nix-installer-action@de22e16c4711fca50c816cc9081563429d1cf563
# - name: set up upterm session
# uses: lhotari/action-upterm@v1
- name: update development dependencies
run: nix develop --command bash -c './init_dev_env && ./dev-deps/update_dev_dependencies'
- name: create PR
uses: peter-evans/create-pull-request@b1ddad2c994a25fbc81a28b3ec0e368bb2021c50
uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e
with:
token: ${{ secrets.DEV_DEPS_UPDATE_TOKEN }}
title: Update development dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update_flake_lock.yml
Expand Up @@ -13,9 +13,9 @@ jobs:
- name: check out code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: install Nix
uses: DeterminateSystems/nix-installer-action@cd46bde16ab981b0a7b2dce0574509104543276e
uses: DeterminateSystems/nix-installer-action@de22e16c4711fca50c816cc9081563429d1cf563
- name: update flake.lock
uses: DeterminateSystems/update-flake-lock@da2fd6f2563fe3e4f2af8be73b864088564e263d
uses: DeterminateSystems/update-flake-lock@a3ccb8f59719c48d6423e97744560221bcf7a3fa
with:
token: ${{ secrets.FLAKE_LOCK_UPDATE_ACTION_TOKEN }}
pr-title: "Update flake.lock"
Expand Down

0 comments on commit 4af0fe9

Please sign in to comment.