Skip to content

Commit

Permalink
Bump actions/checkout from 3 to 4
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Sep 13, 2023
1 parent fee3141 commit 4328dfc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- run: python3 -m pip install --upgrade build && python3 -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}


2 changes: 1 addition & 1 deletion .github/workflows/push_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
os: ["ubuntu-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
lfs: true
Expand Down
2 changes: 1 addition & 1 deletion spec2nii/jmrui.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def readjMRUItxt(filename):
data = []
recordData = False
signal_index = 0
with open(filename, 'r') as txtfile:
with open(filename) as txtfile:
for line in txtfile:
headerComp = headerRe.match(line)
if headerComp:
Expand Down

0 comments on commit 4328dfc

Please sign in to comment.