chore: try to use Christophers version

This commit is contained in:
2026-06-05 21:41:31 +02:00
parent 6f132eb589
commit 2fe7487c21
2 changed files with 2 additions and 75 deletions
+2 -27
View File
@@ -58,13 +58,6 @@ jobs:
- name: Install build dependencies - name: Install build dependencies
run: | run: |
#mv /etc/apt/sources.list.d/microsoft-prod.list \
# /etc/apt/sources.list.d/microsoft-prod.list.disabled
#until apt-get update; do
# echo -e "-----\napt-get update failed, retrying in 1s...\n-----"
# sleep 1s
#done
sudo apt-get update sudo apt-get update
sudo apt-get install -y \ sudo apt-get install -y \
@@ -88,7 +81,7 @@ jobs:
mv ./dist/meshbook ./bin/meshbook mv ./dist/meshbook ./bin/meshbook
- name: upload the building actifacts - name: upload the building actifacts
uses: actions/upload-artifact@v7 uses: https://gitea.com/actions/gitea-upload-artifact@main
with: with:
name: package-linux64 name: package-linux64
path: | path: |
@@ -110,13 +103,6 @@ jobs:
- name: Set the Wine Windows Emulation program up - name: Set the Wine Windows Emulation program up
# https://gitlab.winehq.org/wine/wine/-/wikis/Debian-Ubuntu # https://gitlab.winehq.org/wine/wine/-/wikis/Debian-Ubuntu
run: | run: |
#mv /etc/apt/sources.list.d/microsoft-prod.list
# /etc/apt/sources.list.d/microsoft-prod.list.disabled
#until apt-get update; do
# echo -e "-----\napt-get update failed, retrying in 1s...\n-----"
# sleep 1
#done
sudo apt-get update sudo apt-get update
mkdir -pm755 /etc/apt/keyrings mkdir -pm755 /etc/apt/keyrings
@@ -125,10 +111,6 @@ jobs:
sudo dpkg --add-architecture i386 sudo dpkg --add-architecture i386
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources
#until apt-get update; do
# echo -e "-----\napt-get update failed, retrying in 1s...\n-----"
# sleep 1
#done
sudo apt-get update sudo apt-get update
sudo apt-get install -y --install-recommends winehq-devel sudo apt-get install -y --install-recommends winehq-devel
wine --version wine --version
@@ -168,13 +150,6 @@ jobs:
- name: Install build dependencies - name: Install build dependencies
run: | run: |
#mv /etc/apt/sources.list.d/microsoft-prod.list \
# /etc/apt/sources.list.d/microsoft-prod.list.disabled
#until apt-get update; do
# echo -e "-----\napt-get update failed, retrying in 1s...\n-----"
# sleep 1s
#done
sudo apt-get update sudo apt-get update
sudo apt-get install -y \ sudo apt-get install -y \
@@ -219,7 +194,7 @@ jobs:
mv ./dist/meshbook.exe ./bin/meshbook.exe mv ./dist/meshbook.exe ./bin/meshbook.exe
- name: upload the building actifacts - name: upload the building actifacts
uses: actions/upload-artifact@v7 uses: https://gitea.com/actions/gitea-upload-artifact@main
with: with:
name: package-win64 name: package-win64
path: | path: |
-48
View File
@@ -1,48 +0,0 @@
---
name: Lint Golang Files
"on":
# Manual trigger.
"workflow_dispatch":
push:
branches:
- '*'
paths:
- 'src/**/*.go'
- '**/go.*'
pull_request:
branches:
- '*'
jobs:
golang-lint:
name: 'Golang-Lint'
runs-on: ubuntu-latest
steps:
- name: 'Check out the repository locally'
uses: actions/checkout@v6
with:
fetch-depth: 0
lfs: false
- uses: actions/setup-go@v6
with:
go-version: 1.26
- name: install Fyne deps for golang lint
run: |
#mv /etc/apt/sources.list.d/microsoft-prod.list \
# /etc/apt/sources.list.d/microsoft-prod.list.disabled
#until apt-get update; do
# echo -e "-----\napt-get update failed, retrying in 1s...\n-----"
# sleep 1s
#done
sudo apt-get update
sudo apt-get install -y libgl1-mesa-dev xorg-dev
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.11.4