Skip to content

Commit

Permalink
Merge pull request #611 from ClearcodeHQ/actions-updates
Browse files Browse the repository at this point in the history
Update older actions
  • Loading branch information
fizyk authored Mar 15, 2024
2 parents d33a3c2 + 70e1ede commit 9543c87
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/actions/elastic_7/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ runs:
using: "composite"
steps:
- name: Set up Python ${{ inputs.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/elasticsearch
key: elasticsearch-${{ inputs.elasticsearch }}
Expand All @@ -35,7 +35,7 @@ runs:
shell: bash
run: pipenv run pytest --elasticsearch-executable=$ES_HOME/bin/elasticsearch -n 1 --cov-report=xml:coverage-xdist.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.0.0
uses: codecov/codecov-action@v4
with:
flags: linux,elastic-${{ inputs.elasticsearch }}
env_vars: OS, PYTHON
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/pytest/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ runs:
using: "composite"
steps:
- name: Set up Python ${{ inputs.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/elasticsearch
key: elasticsearch-${{ inputs.elasticsearch }}
Expand All @@ -33,7 +33,7 @@ runs:
python-version: ${{ matrix.python-version }}
command: pytest --elasticsearch-executable=$ES_HOME/bin/elasticsearch -n 1 --cov-report=xml:coverage-xdist.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.0.0
uses: codecov/codecov-action@v4
with:
flags: linux,elastic-${{ inputs.elasticsearch }}
env_vars: OS, PYTHON
Expand Down
1 change: 1 addition & 0 deletions newsfragments/611.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update various actions in shared action files.

0 comments on commit 9543c87

Please sign in to comment.