File tree Expand file tree Collapse file tree 6 files changed +22
-20
lines changed
Expand file tree Collapse file tree 6 files changed +22
-20
lines changed Original file line number Diff line number Diff line change 88# https://github.com/rhysd/actionlint/blob/main/README.md
99
1010jobs :
11- lint :
11+ actionlint :
1212 runs-on : ubuntu-latest
1313 steps :
14- - name : Checkout code
15- uses : actions/checkout@v2
16- - name : Install actionlint
14+ - uses : actions/checkout@v4
15+ - name : Download actionlint
16+ id : get_actionlint
1717 run : bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
18- - name : run
19- run : ./actionlint
18+ shell : bash
19+ - name : Check workflow files
20+ run : ${{ steps.get_actionlint.outputs.executable }} -color
21+ shell : bash
Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ jobs:
1616 fail-fast : false
1717 matrix :
1818 # We want the oldest possible version of MacOS for backwards compatibility
19- os : [ubuntu-latest, macos-11 , windows-latest]
19+ os : [ubuntu-latest, macos-13 , windows-latest]
2020
2121 steps :
22- - uses : actions/checkout@v1
23- - name : Set up Python 3.7
24- uses : actions/setup-python@v1
22+ - uses : actions/checkout@v5
23+ - name : Set up Python
24+ uses : actions/setup-python@v5
2525 with :
26- python-version : 3.7
26+ python-version : 3.13
2727 - name : Install dependencies
2828 run : |
2929 python scripts/os_specific_requirements.py
4545 python scripts/package.py
4646 - uses : actions/upload-artifact@master
4747 with :
48- name : githooks
49- path : dist/
48+ name : ${{ runner.os }}
49+ path : ./ dist/*
5050 - name : Integration
5151 run : |
5252 pytest src/integration
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Tag
22
33on :
44 pull_request :
5- types : closed
5+ types : [ closed]
66
77jobs :
88 build :
Original file line number Diff line number Diff line change 1- PyInstaller == 5.13.2
2- pytest == 7 .4.4
3- pylint == 2.17.6
1+ PyInstaller == 6.15.0
2+ pytest == 8 .4.1
3+ pylint == 3.3.8
44codecov == 2.1.13
5- pytest-cov == 4.1.0
5+ pytest-cov == 6.2.1
Original file line number Diff line number Diff line change 2020 OS_ALIAS = "mac"
2121
2222 EXE_NAME : str = "commit-msg"
23- EXE_FILE_FOLDER = os . path . join ( 'dist' , OS_ALIAS )
23+ EXE_FILE_FOLDER = 'dist'
2424
2525 # Hidden import mends PyInstaller moduleNotFound errors
2626 PyInstaller .__main__ .run ([
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class TestIntegration(unittest.TestCase):
2323
2424 def setUp (self ):
2525 # Dist should only have one other folder in it - grab that one
26- self .abs_dist_path = os . path . join ( 'dist' , os . listdir ( 'dist' )[ 0 ])
26+ self .abs_dist_path = 'dist'
2727
2828 # Convert relative path to absolute
2929 self .abs_dist_path = os .path .abspath (self .abs_dist_path )
You can’t perform that action at this time.
0 commit comments