Skip to content

Commit

Permalink
ci(github-actions): Update python version in GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MortalHappiness committed Oct 24, 2023
1 parent 3d931aa commit 02d909e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: lint

on: [pull_request]
on: [ pull_request ]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 1024
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: pre-commit
env:
BASE_SHA: ${{ github.event.pull_request.base.sha}}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ut.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Run Unit Test

on: [pull_request]
on: [ pull_request ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.6.8"
python-version: '3.8'
- name: Install dependencies
run: |
pip install pip --upgrade
Expand Down

0 comments on commit 02d909e

Please sign in to comment.