Skip to content

Commit

Permalink
Use latest actions to fix CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
pe-st committed Jul 1, 2024
1 parent 22b7f41 commit 364d46b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "-S -l 132"
4 changes: 2 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.x
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.version }}
- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions gcexport.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,7 @@ def export_data_file(activity_id, activity_details, args, file_time, append_desc
file_mode = 'wb'
elif args.format == 'json':
data_filename = os.path.join(directory, f'{prefix}activity_{activity_id}{append_desc}.json')
download_url = None
file_mode = 'w'
else:
raise ValueError('Unrecognized format.')
Expand Down

0 comments on commit 364d46b

Please sign in to comment.