-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ad3cc8a
commit fe8fb24
Showing
3 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: 'Update Version' | ||
on: | ||
push: | ||
branches: | ||
- '_update-deps/runtimeverification/wasm-semantics' | ||
- 'project-setup' | ||
workflow_dispatch: | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
update-deps: | ||
name: 'Update Dependecies' | ||
runs-on: [self-hosted, linux, flyweight] | ||
steps: | ||
- name: 'Check out code' | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
token: ${{ secrets.JENKINS_GITHUB_PAT }} | ||
- name: 'Configure GitHub user' | ||
run: | | ||
git config user.name devops | ||
git config user.email [email protected] | ||
- name: 'Install Poetry' | ||
uses: Gr1N/setup-poetry@v9 | ||
- name: 'Update Poetry files' | ||
run: | | ||
PYKWASM_VERSION="$(cat deps/kwasm_release)" | ||
sed -i 's!pykwasm = { git = "https://github.com/runtimeverification/wasm-semantics.git", tag = "[v0-9\.]*", subdirectory = "pykwasm" }!pykwasm = { git = "https://github.com/runtimeverification/wasm-semantics.git", tag = "v'${PYKWASM_VERSION}'", subdirectory = "pykwasm" }!' pyproject.toml | ||
poetry update | ||
git add . && git commit -m "Sync Poetry files ${PYKWASM_VERSION}" || true | ||
- name: 'Update K release' | ||
run: | | ||
K_VERSION=$(poetry run python3 -c 'import pyk; print(pyk.__version__)') | ||
echo ${K_VERSION} > deps/k_release | ||
git add deps/k_release && git commit -m "deps/k_release: sync release file version ${K_VERSION}" || true | ||
- name: 'Push updates' | ||
run: git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7.0.52 | ||
0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters