diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a82360..24a13d3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,9 @@ on: pull_request: workflow_dispatch: +env: + GOPRIVATE: git.sr.ht + jobs: build: strategy: @@ -17,4 +20,4 @@ jobs: build-name: strimertul build-platform: linux/amd64 package: false - go-version: 1.19 \ No newline at end of file + go-version: 1.19 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 78ce952..7d6eee5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,16 +7,28 @@ on: - "v*.*.*-beta.*" - "v*.*.*-rc.*" +env: + GOPRIVATE: git.sr.ht + jobs: build: strategy: fail-fast: false matrix: - build: [ - { name: strimertul-linux-amd64, platform: linux/amd64, os: ubuntu-latest }, - { name: "strimertul", platform: windows/amd64, os: windows-latest }, - { name: "strimertul", platform: darwin/universal, os: macos-latest } - ] + build: + [ + { + name: strimertul-linux-amd64, + platform: linux/amd64, + os: ubuntu-latest, + }, + { name: "strimertul", platform: windows/amd64, os: windows-latest }, + { + name: "strimertul", + platform: darwin/universal, + os: macos-latest, + }, + ] runs-on: ${{ matrix.build.os }} steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index 7a30c9e..57d5c84 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,12 @@ Check out the [project's wiki](https://github.com/strimertul/strimertul/wiki) fo This project uses Wails, check out the [Getting Started](https://wails.io/docs/gettingstarted/installation) guide on how to install it. +Due to Google's [aggressive behavior and refusal to conform to standard internet "don't be a dick" code](https://drewdevault.com/2022/05/25/Google-has-been-DDoSing-sourcehut.html) (aka DDoSsing), you will need to put this to be able to clone all dependecies: + +```sh +export GOPRIVATE=git.sr.ht +``` + To run in live development mode, run `wails dev` in the project directory. This will run a Vite development server that will provide hot reload of frontend changes, while hard-reloading on backend changes. ## Building @@ -43,7 +49,7 @@ To build a redistributable, production mode package, use `wails build`. - Renko, strimertül's mascot and app icon, was drawn by [Sonic_Chan] -[Sonic_Chan]: https://twitter.com/Sonic__Chan +[sonic_chan]: https://twitter.com/Sonic__Chan ## License