chore: try to use Christophers version
This commit is contained in:
@@ -58,13 +58,6 @@ jobs:
|
||||
|
||||
- name: Install build dependencies
|
||||
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 \
|
||||
@@ -88,7 +81,7 @@ jobs:
|
||||
mv ./dist/meshbook ./bin/meshbook
|
||||
|
||||
- name: upload the building actifacts
|
||||
uses: actions/upload-artifact@v7
|
||||
uses: https://gitea.com/actions/gitea-upload-artifact@main
|
||||
with:
|
||||
name: package-linux64
|
||||
path: |
|
||||
@@ -110,13 +103,6 @@ jobs:
|
||||
- name: Set the Wine Windows Emulation program up
|
||||
# https://gitlab.winehq.org/wine/wine/-/wikis/Debian-Ubuntu
|
||||
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
|
||||
|
||||
mkdir -pm755 /etc/apt/keyrings
|
||||
@@ -125,10 +111,6 @@ jobs:
|
||||
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
|
||||
|
||||
#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 install -y --install-recommends winehq-devel
|
||||
wine --version
|
||||
@@ -168,13 +150,6 @@ jobs:
|
||||
|
||||
- name: Install build dependencies
|
||||
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 \
|
||||
@@ -219,7 +194,7 @@ jobs:
|
||||
mv ./dist/meshbook.exe ./bin/meshbook.exe
|
||||
|
||||
- name: upload the building actifacts
|
||||
uses: actions/upload-artifact@v7
|
||||
uses: https://gitea.com/actions/gitea-upload-artifact@main
|
||||
with:
|
||||
name: package-win64
|
||||
path: |
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user