Skip to content

Commit 065eaec

Browse files
Merge pull request #10 from scanoss/SP-1260-Fix-UTF-16-Filename-Encoding
Upgrade to latest version of matrix build
2 parents 0d52ae5 + 211538e commit 065eaec

File tree

8 files changed

+44
-40
lines changed

8 files changed

+44
-40
lines changed

.github/workflows/python-local-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
runs-on: ubuntu-latest
1919

2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222

2323
- name: Set up Python
24-
uses: actions/setup-python@v3
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: '3.10.x'
2727

.github/workflows/python-publish-pypi.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
name: Local Unit Test
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- name: Set up Python
22-
uses: actions/setup-python@v3
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: '3.10.x'
2525

@@ -46,10 +46,10 @@ jobs:
4646
name: Publish Source Package
4747
runs-on: ubuntu-latest
4848
steps:
49-
- uses: actions/checkout@v3
49+
- uses: actions/checkout@v4
5050

5151
- name: Set up Python
52-
uses: actions/setup-python@v3
52+
uses: actions/setup-python@v5
5353
with:
5454
python-version: '3.10.x'
5555

@@ -78,18 +78,18 @@ jobs:
7878
runs-on: ${{ matrix.os }}
7979
strategy:
8080
matrix:
81-
os: [ubuntu-20.04, macos-11, windows-2019]
81+
os: [ubuntu-latest, macos-12, windows-2019]
8282
steps:
8383
- uses: actions/checkout@v3
8484

8585
- name: Set up QEMU
8686
if: runner.os == 'Linux'
87-
uses: docker/setup-qemu-action@v2
87+
uses: docker/setup-qemu-action@v3
8888
with:
8989
platforms: all
9090

9191
- name: Build wheels
92-
uses: pypa/cibuildwheel@v2.16.5
92+
uses: pypa/cibuildwheel@v2.20.0
9393
env:
9494
CIBW_ARCHS_WINDOWS: AMD64 ARM64
9595
CIBW_ARCHS_MACOS: x86_64 arm64
@@ -115,7 +115,7 @@ jobs:
115115
name: Upload Wheels
116116
runs-on: [ubuntu-latest]
117117
steps:
118-
- uses: actions/checkout@v3
118+
- uses: actions/checkout@v4
119119

120120
- name: Download Cached artifacts
121121
uses: actions/download-artifact@v3
@@ -131,7 +131,7 @@ jobs:
131131
- name: Publish Test Package
132132
uses: pypa/gh-action-pypi-publish@release/v1
133133
with:
134-
# skip_existing: true
134+
# skip-existing: true
135135
packages_dir: wheelhouse
136136
user: __token__
137137
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/testpypi-linux.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ jobs:
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
matrix:
15-
os: [ubuntu-20.04]
15+
os: [ubuntu-latest]
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Set up QEMU
2121
if: runner.os == 'Linux'
22-
uses: docker/setup-qemu-action@v2
22+
uses: docker/setup-qemu-action@v3
2323
with:
2424
platforms: all
2525

2626
# https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip
2727
- name: Build wheels
28-
uses: pypa/cibuildwheel@v2.16.5
28+
uses: pypa/cibuildwheel@v2.20.0
2929
env:
3030
CIBW_ARCHS_LINUX: x86_64 aarch64
3131
CIBW_BEFORE_BUILD_LINUX: curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y
@@ -39,9 +39,9 @@ jobs:
3939
- name: Publish Test Package
4040
uses: pypa/gh-action-pypi-publish@release/v1
4141
with:
42-
skip_existing: true
42+
skip-existing: true
4343
packages_dir: wheelhouse
4444
user: __token__
4545
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
46-
repository_url: https://test.pypi.org/legacy/
46+
repository-url: https://test.pypi.org/legacy/
4747

.github/workflows/testpypi-mac.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ jobs:
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
matrix:
15-
os: [macos-11]
15+
os: [macos-12]
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Set up QEMU
2121
if: runner.os == 'Linux'
22-
uses: docker/setup-qemu-action@v2
22+
uses: docker/setup-qemu-action@v3
2323
with:
2424
platforms: all
2525

2626
- name: Build wheels
27-
uses: pypa/cibuildwheel@v2.16.5
27+
uses: pypa/cibuildwheel@v2.20.0
2828
env:
2929
CIBW_ARCHS_MACOS: x86_64 arm64
3030

@@ -43,7 +43,7 @@ jobs:
4343
name: Upload wheels
4444
runs-on: [ubuntu-latest]
4545
steps:
46-
- uses: actions/checkout@v3
46+
- uses: actions/checkout@v4
4747
- uses: actions/download-artifact@v3
4848
with:
4949
name: scanoss-wheels
@@ -56,8 +56,8 @@ jobs:
5656
- name: Publish Test Package
5757
uses: pypa/gh-action-pypi-publish@release/v1
5858
with:
59-
skip_existing: true
59+
skip-existing: true
6060
packages_dir: wheelhouse
6161
user: __token__
6262
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
63-
repository_url: https://test.pypi.org/legacy/
63+
repository-url: https://test.pypi.org/legacy/

.github/workflows/testpypi-src.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
package_source:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414

1515
- name: Set up Python
16-
uses: actions/setup-python@v3
16+
uses: actions/setup-python@v5
1717
with:
1818
python-version: '3.10.x'
1919

@@ -28,7 +28,7 @@ jobs:
2828
- name: Publish Test Source Package
2929
uses: pypa/gh-action-pypi-publish@release/v1
3030
with:
31-
skip_existing: true
31+
skip-existing: true
3232
user: __token__
3333
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
34-
repository_url: https://test.pypi.org/legacy/
34+
repository-url: https://test.pypi.org/legacy/

.github/workflows/testpypi-win.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
package_source:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414

1515
- name: Set up Python
16-
uses: actions/setup-python@v3
16+
uses: actions/setup-python@v5
1717
with:
1818
python-version: '3.10.x'
1919

@@ -28,10 +28,10 @@ jobs:
2828
- name: Publish Test Source Package
2929
uses: pypa/gh-action-pypi-publish@release/v1
3030
with:
31-
skip_existing: true
31+
skip-existing: true
3232
user: __token__
3333
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
34-
repository_url: https://test.pypi.org/legacy/
34+
repository-url: https://test.pypi.org/legacy/
3535

3636
build_wheels:
3737
name: Build wheels on ${{ matrix.os }}
@@ -41,16 +41,16 @@ jobs:
4141
os: [windows-2019]
4242

4343
steps:
44-
- uses: actions/checkout@v3
44+
- uses: actions/checkout@v4
4545

4646
- name: Set up QEMU
4747
if: runner.os == 'Linux'
48-
uses: docker/setup-qemu-action@v2
48+
uses: docker/setup-qemu-action@v3
4949
with:
5050
platforms: all
5151

5252
- name: Build wheels
53-
uses: pypa/cibuildwheel@v2.16.5
53+
uses: pypa/cibuildwheel@v2.20.0
5454
env:
5555
CIBW_ARCHS_WINDOWS: AMD64 ARM64
5656

@@ -69,7 +69,7 @@ jobs:
6969
name: Upload wheels
7070
runs-on: [ubuntu-latest]
7171
steps:
72-
- uses: actions/checkout@v3
72+
- uses: actions/checkout@v4
7373
- uses: actions/download-artifact@v3
7474
with:
7575
name: scanoss-wheels
@@ -82,8 +82,8 @@ jobs:
8282
- name: Publish Test Package
8383
uses: pypa/gh-action-pypi-publish@release/v1
8484
with:
85-
skip_existing: true
85+
skip-existing: true
8686
packages_dir: wheelhouse
8787
user: __token__
8888
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
89-
repository_url: https://test.pypi.org/legacy/
89+
repository-url: https://test.pypi.org/legacy/

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Added
1010
- Upcoming changes...
1111

12+
## [0.5.3] - 2024-08-14
13+
### Fixed
14+
- Updated and fixed GH Actions dependencies
15+
1216
## [0.5.2] - 2024-08-09
1317
### Added
1418
- Added support for UTF-16 filenames
@@ -51,4 +55,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5155
[0.5.0]: https://github.com/scanoss/scanoss-winnowing.py/compare/v0.4.1...v0.5.0
5256
[0.5.1]: https://github.com/scanoss/scanoss-winnowing.py/compare/v0.5.0...v0.5.1
5357
[0.5.2]: https://github.com/scanoss/scanoss-winnowing.py/compare/v0.5.1...v0.5.2
54-
58+
[0.5.3]: https://github.com/scanoss/scanoss-winnowing.py/compare/v0.5.2...v0.5.3

src/scanoss_winnowing/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
THE SOFTWARE.
2323
"""
2424

25-
__version__ = '0.5.2'
25+
__version__ = '0.5.3'

0 commit comments

Comments
 (0)