Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
3035550d
Unverified
Commit
3035550d
authored
Dec 12, 2022
by
Jonathan Tow
Committed by
GitHub
Dec 12, 2022
Browse files
Update `actions/setup-python`in CI workflows (#365)
* Update `actions/setup-python`in CI workflows
parent
0742f4d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
.github/workflows/pull_request.yml
.github/workflows/pull_request.yml
+2
-2
.github/workflows/python-app.yml
.github/workflows/python-app.yml
+3
-3
No files found.
.github/workflows/pull_request.yml
View file @
3035550d
...
...
@@ -6,8 +6,8 @@ jobs:
pre-commit
:
runs-on
:
ubuntu-20.04
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/setup-python@v
2
-
uses
:
actions/checkout@v
3
-
uses
:
actions/setup-python@v
4
with
:
python-version
:
3.8
-
uses
:
pre-commit/action@v2.0.3
.github/workflows/python-app.yml
View file @
3035550d
...
...
@@ -15,7 +15,7 @@ jobs:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Cache
uses
:
actions/cache@v2.1.3
with
:
...
...
@@ -25,9 +25,9 @@ jobs:
# An explicit key for restoring and saving the cache
key
:
evaldata-cache-4
-
name
:
Set up Python
3.9
uses
:
actions/setup-python@v
2
uses
:
actions/setup-python@v
4
with
:
python-version
:
3.9
.7
python-version
:
3.9
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment