Skip to content

Commit 8a21f32

Browse files
rv-jenkinsrv-auditortothtamas28
authored
Update dependency: deps/k_release (#36)
Fixes #1 * Add update workflow * Update `kframework` to `7.1.173` --------- Co-authored-by: devops <[email protected]> Co-authored-by: Tamás Tóth <[email protected]>
1 parent 76191d1 commit 8a21f32

File tree

4 files changed

+127
-92
lines changed

4 files changed

+127
-92
lines changed

.github/workflows/update-version.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: 'Update Version'
2+
on:
3+
push:
4+
branches:
5+
- '_update-deps/runtimeverification/k'
6+
workflow_dispatch:
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
13+
update-versions:
14+
name: 'Update Dependency Versions'
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: 'Check out code'
18+
uses: actions/checkout@v4
19+
with:
20+
token: ${{ secrets.JENKINS_GITHUB_PAT }}
21+
- name: 'Configure GitHub user'
22+
run: |
23+
git config user.name devops
24+
git config user.email [email protected]
25+
- name: 'Install Poetry'
26+
uses: Gr1N/setup-poetry@v9
27+
- name: 'Update kframework release tag'
28+
run: |
29+
K_VERSION=$(cat deps/k_release)
30+
sed -i 's!kframework = "[0-9\.]*"!kframework = "'${K_VERSION}'"!' pyproject.toml
31+
poetry update
32+
git add pyproject.toml poetry.lock
33+
git commit -m "Sync Poetry files: kframework ${K_VERSION}" || true
34+
- name: 'Push updates'
35+
run: git push

deps/k_release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.1.170
1+
7.1.173

0 commit comments

Comments
 (0)