Skip to content

Commit d049864

Browse files
committed
ci: new build pipeline
1 parent 1aea31d commit d049864

File tree

17 files changed

+313
-278
lines changed

17 files changed

+313
-278
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"runArgs": [
55
"--privileged",
66
"--cap-add=NET_ADMIN",
7-
"--cap-add=NET_RAW"
7+
"--cap-add=NET_RAW",
8+
"--network=host"
89
],
910
"features": {
1011
"ghcr.io/devcontainers/features/common-utils:2": {
@@ -38,5 +39,5 @@
3839
"mounts": [
3940
"source=${env:HOME},target=/mnt/hosthome,type=bind,consistency=cached,readonly"
4041
],
41-
"postStartCommand": "if [ -f /mnt/hosthome/.p10k.zsh ]; then cp /mnt/hosthome/.p10k.zsh /home/vscode/.p10k.zsh; fi && git clone --depth=1 https://github.com/romkatv/powerlevel10k.git /home/vscode/.oh-my-zsh/custom/themes/powerlevel10k && sed -i 's|^ZSH_THEME=.*|ZSH_THEME=\\\"powerlevel10k/powerlevel10k\\\"|' /home/vscode/.zshrc && echo '\nif [[ -r \"${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh\" ]]; then\n source \"${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh\"\nfi\n\n[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh' >> /home/vscode/.zshrc"
42+
"postStartCommand": "if [ -f /mnt/hosthome/.p10k.zsh ]; then cp /mnt/hosthome/.p10k.zsh /home/vscode/.p10k.zsh; fi && git clone --depth=1 https://github.com/romkatv/powerlevel10k.git /home/vscode/.oh-my-zsh/custom/themes/powerlevel10k && sed -i 's|^ZSH_THEME=.*|ZSH_THEME=\\\"powerlevel10k/powerlevel10k\\\"|' /home/vscode/.zshrc && echo '\nif [[ -r \"${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh\" ]]; then\n source \"${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh\"\nfi\n\n[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh' >> /home/vscode/.zshrc && docker buildx create --name liqo-builder --use --driver-opt network=host"
4243
}

.github/workflows/check-generated-artifacts.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
- name: Setup Go
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: '1.24'
23+
go-version-file: go.mod
24+
cache: true
25+
cache-dependency-path: go.sum
2426

2527
- name: Run the automatic generation
2628
working-directory: ./

.github/workflows/codeql.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ jobs:
7474

7575
- uses: actions/setup-go@v5
7676
with:
77-
go-version: '1.24'
77+
go-version-file: go.mod
78+
cache: true
79+
cache-dependency-path: go.sum
7880

7981
# Initializes the CodeQL tools for scanning.
8082
- name: Initialize CodeQL

0 commit comments

Comments
 (0)