Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
a766ef1
.github/workflows/test-pr.yml: bump actions/checkout to v7, actions/s…
palinatolmach Aug 9, 2026
741eb4c
.github/workflows/test-pr.yml: pin astral-sh/setup-uv to v9.0.0
palinatolmach Aug 9, 2026
27c3009
.github/workflows/{master-push,release}.yml: remove secret-based CD
palinatolmach Aug 9, 2026
714e981
.github/workflows/update-version.yml: remove dependency-bump automation
palinatolmach Aug 9, 2026
09a35e9
.github/scripts/check-cachix-pin.sh: remove cachix-pin verification
palinatolmach Aug 9, 2026
a070e56
.github/workflows/release.yml: shorten header comment
palinatolmach Aug 9, 2026
a279462
release.yml: set cancel-in-progress to false
anvacaru Aug 10, 2026
42767ea
release.yml: drop the 'with:' block
anvacaru Aug 10, 2026
95fdf0f
version.sh: run uv --project kevm-pyk lock
anvacaru Aug 10, 2026
940a37c
workflows: pin commit SHA's instead of version numbers
anvacaru Aug 10, 2026
785673f
release.yml: refactor gh release create command
anvacaru Aug 10, 2026
d825b52
test-pr.yml: set read-only permissions
anvacaru Aug 10, 2026
4fcaf89
version.sh: cleanup
anvacaru Aug 10, 2026
48b6126
test-pr.yml: update docker invocation
anvacaru Aug 10, 2026
004f001
temporarily remove release.yml
anvacaru Aug 12, 2026
d577dc0
address zizmor findings
anvacaru Aug 12, 2026
d3bc3cb
action.yml: address review comments
anvacaru Aug 12, 2026
1bdce27
.github/actions/with-docker, workflows/Dockerfile: drop the unused di…
anvacaru Aug 12, 2026
d8e0c75
actionlint: fix findings
anvacaru Aug 12, 2026
1cd4b87
add workflow to run actionlint and zizmor
anvacaru Aug 12, 2026
6e75b7c
lint-workflows: use zizmor-action instead of uvx
anvacaru Aug 12, 2026
1d51acb
Update .github/workflows/lint-workflows.yml
anvacaru Aug 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Custom labels for the self-hosted runners; actionlint cannot discover them.
self-hosted-runner:
labels:
- normal
- fast
- ARM64
75 changes: 26 additions & 49 deletions .github/actions/with-docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,54 +3,32 @@ description: 'Run a given stage with Docker Image'
inputs:
container-name:
description: 'Docker container name to use'
type: string
required: true
tag-name:
description: 'Docker image tag to use'
type: string
required: false
default: runtimeverificationinc/kevm
subdir:
description: 'Subdirectory where code is cloned.'
required: false
type: string
default: './'
os:
description: 'OS to setup Docker for.'
required: false
type: string
default: 'ubuntu'
distro:
description: 'Distribution to setup Docker for.'
required: false
type: string
default: 'jammy'
llvm:
description: 'LLVM version to use.'
required: false
type: number
default: 14
dockerfile:
description: 'Hardcode the path of the dockerfile to use.'
required: false
type: string
default: '.github/workflows/Dockerfile'
runs:
using: 'composite'
steps:
- name: 'Set up Docker'
env:
CONTAINER_NAME: ${{ inputs.container-name }}
DOCKERFILE: ${{ inputs.dockerfile }}
LLVM_VERSION: ${{ inputs.llvm }}
TAG_NAME: ${{ inputs.tag-name }}
shell: bash {0}
run: |
set -euxo pipefail

CONTAINER_NAME=${{ inputs.container-name }}
SUBDIR=${{ inputs.subdir }}
BASE_OS=${{ inputs.os }}
BASE_DISTRO=${{ inputs.distro }}
DOCKERFILE=${{ inputs.dockerfile }}
LLVM_VERSION=${{ inputs.llvm }}
TAG_NAME=${{ inputs.tag-name }}

USER=github-user
GROUP=${USER}
Z3_VERSION=$(cat deps/z3)
Expand All @@ -59,27 +37,26 @@ runs:
USER_ID=1000
GROUP_ID=${USER_ID}

docker build . --file ${DOCKERFILE} \
--tag ${TAG_NAME} \
--build-arg USER_ID=${USER_ID} \
--build-arg GROUP_ID=${GROUP_ID} \
--build-arg USER=${USER} \
--build-arg GROUP=${GROUP} \
--build-arg BASE_DISTRO=${BASE_DISTRO} \
--build-arg K_VERSION=${K_VERSION} \
--build-arg Z3_VERSION=${Z3_VERSION} \
--build-arg LLVM_VERSION=${LLVM_VERSION} \
--build-arg UV_VERSION=${UV_VERSION}
docker build . --file "${DOCKERFILE}" \
--tag "${TAG_NAME}" \
--build-arg USER_ID="${USER_ID}" \
--build-arg GROUP_ID="${GROUP_ID}" \
--build-arg USER="${USER}" \
--build-arg GROUP="${GROUP}" \
--build-arg K_VERSION="${K_VERSION}" \
--build-arg Z3_VERSION="${Z3_VERSION}" \
--build-arg LLVM_VERSION="${LLVM_VERSION}" \
--build-arg UV_VERSION="${UV_VERSION}"

docker run \
--name ${CONTAINER_NAME} \
--rm \
--interactive \
--tty \
--detach \
--user root \
--workdir /home/${USER}/workspace \
${TAG_NAME}
docker run \
--name "${CONTAINER_NAME}" \
--rm \
--interactive \
--tty \
--detach \
--user root \
--workdir "/home/${USER}/workspace" \
"${TAG_NAME}"

docker cp . ${CONTAINER_NAME}:/home/${USER}/workspace
docker exec ${CONTAINER_NAME} chown -R ${USER}:${GROUP} /home/${USER}
docker cp . "${CONTAINER_NAME}":"/home/${USER}/workspace"
docker exec "${CONTAINER_NAME}" chown -R "${USER}:${GROUP}" "/home/${USER}"
99 changes: 0 additions & 99 deletions .github/scripts/check-cachix-pin.sh

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
ARG Z3_VERSION
ARG K_VERSION
ARG BASE_DISTRO
ARG LLVM_VERSION

ARG Z3_VERSION
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/lint-workflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: 'Lint Workflows'
on:
pull_request:
branches:
- 'master'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
actionlint:
name: 'actionlint'
runs-on: ubuntu-latest
steps:
- name: 'Check out code'
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: 'Install actionlint'
env:
# Pin the release and verify it, both values should be updated together.
ACTIONLINT_VERSION: '1.7.12'
ACTIONLINT_SHA256: '8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8'
run: |
set -euxo pipefail
curl --fail --silent --show-error --location --output actionlint.tar.gz \
"https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VERSION}/actionlint_${ACTIONLINT_VERSION}_linux_amd64.tar.gz"
echo "${ACTIONLINT_SHA256} actionlint.tar.gz" | sha256sum --check --strict
tar --extract --gzip --file actionlint.tar.gz actionlint
- name: 'Run actionlint'
run: ./actionlint -color

zizmor:
name: 'zizmor'
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write # upload SARIF, so findings annotate the diff
steps:
- name: 'Check out code'
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: 'Run zizmor'
uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2
with:
version: '1.29.0'
online-audits: false
advanced-security: true
43 changes: 0 additions & 43 deletions .github/workflows/master-push.yml

This file was deleted.

Loading