Skip to content

Commit

Permalink
Update GH actions (#803)
Browse files Browse the repository at this point in the history
Update GH actions:

* Bump Materials-Consortia/optimade-validator-action from 2 to 2.5.0
* Bump CasperWA/push-protected from 2 to 2.3.0
* Bump actions/checkout from 2 to 2.3.4
* Bump actions/setup-python from 2 to 2.2.2
* Bump codecov/codecov-action from 1 to 1.5.0

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
CasperWA and dependabot[bot] committed May 12, 2021
1 parent 7742d1b commit 44593e1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/deps_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.4

- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v2.2.2
with:
python-version: 3.8

Expand All @@ -37,12 +37,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.4
with:
submodules: true

- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v2.2.2
with:
python-version: 3.8

Expand All @@ -62,12 +62,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.4
with:
submodules: true

- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v2.2.2
with:
python-version: 3.8

Expand All @@ -91,7 +91,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.4
with:
submodules: true

Expand All @@ -105,7 +105,7 @@ jobs:
sleep 15
- name: Test server, including OPTIONAL base URLs
uses: Materials-Consortia/optimade-validator-action@v2
uses: Materials-Consortia/optimade-validator-action@v2.5.0
with:
port: 3213
path: /
Expand All @@ -119,7 +119,7 @@ jobs:
sleep 15
- name: Test index server, including OPTIONAL base URLs
uses: Materials-Consortia/optimade-validator-action@v2
uses: Materials-Consortia/optimade-validator-action@v2.5.0
with:
port: 3214
path: /
Expand Down Expand Up @@ -166,13 +166,13 @@ jobs:


steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.4
with:
submodules: true
fetch-depth: 2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v2.2.2
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -238,15 +238,15 @@ jobs:

- name: Upload coverage to Codecov
if: matrix.python-version == 3.8 && github.repository == 'Materials-Consortia/optimade-python-tools'
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v1.5.0
with:
name: project
file: ./coverage.xml
flags: project

- name: Upload validator coverage to Codecov
if: matrix.python-version == 3.8 && github.repository == 'Materials-Consortia/optimade-python-tools'
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v1.5.0
with:
name: validator
file: ./validator_cov.xml
Expand All @@ -256,11 +256,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.4
with:
submodules: true

- uses: actions/setup-python@v2
- uses: actions/setup-python@v2.2.2
with:
python-version: 3.8

Expand All @@ -283,10 +283,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v2.3.4

- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v2.2.2
with:
python-version: 3.8

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-on-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v2.3.4
with:
submodules: true

- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v2.2.2
with:
python-version: 3.8

Expand All @@ -39,7 +39,7 @@ jobs:
run: .github/workflows/update_docs.sh

- name: Update '${{ env.PUBLISH_UPDATE_BRANCH }}'
uses: CasperWA/push-protected@v2
uses: CasperWA/push-protected@v2.3.0
with:
token: ${{ secrets.RELEASE_PAT_CASPER }}
branch: ${{ env.PUBLISH_UPDATE_BRANCH }}
Expand Down

0 comments on commit 44593e1

Please sign in to comment.