From 2fe7487c21444c4e65e006255a43ba40c4f2eccd Mon Sep 17 00:00:00 2001 From: Daan Selen Date: Fri, 5 Jun 2026 21:41:31 +0200 Subject: [PATCH] chore: try to use Christophers version --- .github/workflows/cross-compile.yaml | 29 +------------- .github/workflows/lint-golang-files.yaml | 48 ------------------------ 2 files changed, 2 insertions(+), 75 deletions(-) delete mode 100644 .github/workflows/lint-golang-files.yaml diff --git a/.github/workflows/cross-compile.yaml b/.github/workflows/cross-compile.yaml index 9122e6c..b00d146 100644 --- a/.github/workflows/cross-compile.yaml +++ b/.github/workflows/cross-compile.yaml @@ -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: | diff --git a/.github/workflows/lint-golang-files.yaml b/.github/workflows/lint-golang-files.yaml deleted file mode 100644 index b223d43..0000000 --- a/.github/workflows/lint-golang-files.yaml +++ /dev/null @@ -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