Skip to content

Commit 0d4aa5e

Browse files
authored
Update build.yaml
1 parent e9ecaf2 commit 0d4aa5e

1 file changed

Lines changed: 4 additions & 41 deletions

File tree

.github/workflows/build.yaml

Lines changed: 4 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -31,36 +31,31 @@ jobs:
3131
cibuildwheel:
3232
- "cp311"
3333
steps:
34-
<<<<<<< before updating
35-
- uses: actions/checkout@v6
34+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3635
with:
3736
submodules: 'true'
3837

3938
- name: Setup cache (mac/linux)
40-
uses: actions/cache@v5
39+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
4140
with:
4241
path: "/home/runner/work/systemc-python/systemc-python/.ccache"
4342
key: cache-${{ runner.os }}-
4443
restore-keys: cache-${{ runner.os }}-
4544
if: ${{ runner.os != 'Windows' }}
4645

4746
- name: Setup cache (windows)
48-
uses: actions/cache@v5
47+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
4948
with:
5049
path: "C:/ProgramData/chocolatey/"
5150
key: cache-${{ runner.os }}-
5251
restore-keys: cache-${{ runner.os }}-
5352
if: ${{ runner.os == 'Windows' }}
54-
=======
55-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
56-
>>>>>>> after updating
5753

5854
- uses: actions-ext/python/setup@main
5955
with:
6056
version: ${{ matrix.python-version }}
6157

6258
- name: Install dependencies
63-
<<<<<<< before updating
6459
run: pip install cibuildwheel
6560

6661
- name: Python Wheel Steps (linux)
@@ -86,46 +81,14 @@ jobs:
8681
if: ${{ matrix.os == 'windows-2022' }}
8782

8883
- name: Upload Wheel
89-
uses: actions/upload-artifact@v7
84+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
9085
with:
9186
name: dist-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}
9287
path: dist/*.whl
9388

9489
- name: Install wheel (mac/linux)
9590
run: python -m pip install dist/*.whl
9691
if: ${{ runner.os != 'Windows' }}
97-
=======
98-
run: make develop
99-
100-
- name: Lint
101-
run: make lint
102-
103-
- name: Checks
104-
run: make checks
105-
106-
- name: Build
107-
run: make build
108-
109-
- name: Test
110-
run: make coverage
111-
112-
- name: Upload test results (Python)
113-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
114-
with:
115-
name: test-results-${{ matrix.os }}-${{ matrix.python-version }}
116-
path: junit.xml
117-
if: ${{ always() }}
118-
119-
- name: Publish Unit Test Results
120-
uses: EnricoMi/publish-unit-test-result-action@c950f6fb443cb5af20a377fd0dfaa78838901040 # v2
121-
with:
122-
files: '**/junit.xml'
123-
124-
- name: Upload coverage
125-
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
126-
with:
127-
token: ${{ secrets.CODECOV_TOKEN }}
128-
>>>>>>> after updating
12992

13093
- name: Install wheel (windows)
13194
run: python -m pip install -U (Get-ChildItem .\dist\*.whl | Select-Object -Expand FullName)

0 commit comments

Comments
 (0)