Skip to content

Commit

Permalink
Upgrade other workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Aug 30, 2024
1 parent 967fc99 commit de8202b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,9 @@ jobs:
SELENIUM_WEBDRIVER: chrome-headless
SELENIUM_HEADLESS: True
- name: Upload coverage to Codecov
if: github.repository_owner_id == env.OCADO_TECH_ORG_ID
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
file: ${{ env.COVERAGE_REPORT }}
8 changes: 4 additions & 4 deletions .github/workflows/publish-python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ on:
jobs:
publish-pypi-packages:
name: Publish PyPi Packages
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.12"
architecture: "x64"
- name: Install pip requirements
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic-pull-request-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
main:
name: Validate PR title
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/snyk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ on:
jobs:
security:
name: Run Snyk
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
env:
LANG: C.UTF-8
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup python-version
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.8"
architecture: "x64"
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Generate requirements
run: pip freeze > requirements.txt
- name: Run Snyk to check for vulnerabilities in Python
uses: snyk/actions/python-3.8@master
uses: snyk/actions/python-3.10@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
Expand Down

0 comments on commit de8202b

Please sign in to comment.