diff --git a/.github/actions/elastic_7/action.yml b/.github/actions/elastic_7/action.yml index c9e311a..0e95a0e 100644 --- a/.github/actions/elastic_7/action.yml +++ b/.github/actions/elastic_7/action.yml @@ -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 }} @@ -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 diff --git a/.github/actions/pytest/action.yml b/.github/actions/pytest/action.yml index 9ffa9a2..6a355e4 100644 --- a/.github/actions/pytest/action.yml +++ b/.github/actions/pytest/action.yml @@ -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 }} @@ -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 diff --git a/newsfragments/611.misc.rst b/newsfragments/611.misc.rst new file mode 100644 index 0000000..665d9a0 --- /dev/null +++ b/newsfragments/611.misc.rst @@ -0,0 +1 @@ +Update various actions in shared action files. \ No newline at end of file