forked from berty/berty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore/update [email protected] + weshnet (berty#4866)
* chore: remove gogoproto Signed-off-by: D4ryl00 <[email protected]> * chore: remove gogoproto, use latest weshnet Signed-off-by: D4ryl00 <[email protected]> * fix: tests Signed-off-by: D4ryl00 <[email protected]> * chore: disable nopfs kubo plugin in encrypted repo Signed-off-by: D4ryl00 <[email protected]> * chore: rename BertyID to BertyId Signed-off-by: D4ryl00 <[email protected]> * chore: fix ci lint Signed-off-by: D4ryl00 <[email protected]> * fix: unitest Signed-off-by: D4ryl00 <[email protected]> * chore: fix unitest + goreleaser deprecated flag Signed-off-by: D4ryl00 <[email protected]> * chore: fix CI Signed-off-by: D4ryl00 <[email protected]> * chore: add LazyVim in ssh-runner Github Action workflow Signed-off-by: D4ryl00 <[email protected]> * chore: use latest weshnet that should fix TestFlow in bertyaccount Signed-off-by: D4ryl00 <[email protected]> * chore: use remove deprecated --skip-publish flag in goreleaser Signed-off-by: D4ryl00 <[email protected]> * chore: update goreleaser config to v2 Signed-off-by: D4ryl00 <[email protected]> * fix: Flipper for Xcode 15.3 or above Signed-off-by: D4ryl00 <[email protected]> * fix: Remove Flipper on iOS Signed-off-by: D4ryl00 <[email protected]> * fix: replace quic by quic-v1 Signed-off-by: D4ryl00 <[email protected]> * chore: use latest weshnet Signed-off-by: D4ryl00 <[email protected]> * fix: change rdvp topic into valid UTF-8 Signed-off-by: D4ryl00 <[email protected]> * chore: use berty.tech/weshnet/v2 Signed-off-by: D4ryl00 <[email protected]> * chore: remove replace in go.mod for berty.tech/weshnet Signed-off-by: D4ryl00 <[email protected]> --------- Signed-off-by: D4ryl00 <[email protected]>
- Loading branch information
Showing
214 changed files
with
26,053 additions
and
72,369 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,7 +91,6 @@ jobs: | |
client_payload: {"commit_message":${{ env.commit_message }}}, | ||
}) | ||
post-semantic-release: | ||
needs: semantic-release | ||
#if: needs.semantic-release.outputs.new-release-published == 'true' | ||
|
@@ -140,20 +139,19 @@ jobs: | |
set -x +e | ||
curl -i $url | ||
build-asset: | ||
needs: semantic-release | ||
name: build asset | ||
runs-on: ${{ matrix.config.runs-on }} | ||
strategy: | ||
matrix: | ||
config: [ | ||
# @FIXME(gfanton): latest ubuntu version broke `Install Linux Dependencies` step | ||
{runs-on: 'ubuntu-20.04', goos: 'linux'}, | ||
{runs-on: 'macos-latest', goos: 'darwin'}, | ||
{runs-on: 'windows-latest', goos: 'windows'}, | ||
# TODO: bertyguy | ||
] | ||
# @FIXME(gfanton): latest ubuntu version broke `Install Linux Dependencies` step | ||
{ runs-on: "ubuntu-20.04", goos: "linux" }, | ||
{ runs-on: "macos-latest", goos: "darwin" }, | ||
{ runs-on: "windows-latest", goos: "windows" }, | ||
# TODO: bertyguy | ||
] | ||
env: | ||
OSXCROSS_DIR: /home/runner/work/osxcross | ||
steps: | ||
|
@@ -194,7 +192,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ env.go_version }}-${{ env.json_cache-versions_go }}-${{ hashFiles('go/**/go.sum') }} | ||
key: ${{ runner.os }}-go-${{ env.go_version }}-${{ env.json_cache-versions_go }}-${{ hashFiles('go/**/go.sum') }} | ||
restore-keys: ${{ runner.os }}-go-${{ env.go_version }}-${{ env.json_cache-versions_go }}- | ||
|
||
- name: Install Linux Dependencies | ||
|
@@ -214,14 +212,14 @@ jobs: | |
if: needs.semantic-release.outputs.new-release-published != 'true' | ||
with: | ||
version: latest | ||
args: release --rm-dist -f .github/workflows/utils/.goreleaser.${{ matrix.config.goos }}.yml --skip-publish | ||
args: release --clean -f .github/workflows/utils/.goreleaser.${{ matrix.config.goos }}.yml --skip=publish | ||
|
||
- name: Run GoReleaser (Publish) | ||
uses: goreleaser/goreleaser-action@v3 | ||
if: needs.semantic-release.outputs.new-release-published == 'true' | ||
with: | ||
version: latest | ||
args: release --rm-dist -f .github/workflows/utils/.goreleaser.${{ matrix.config.goos }}.yml | ||
args: release --clean -f .github/workflows/utils/.goreleaser.${{ matrix.config.goos }}.yml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,16 +3,16 @@ on: | |
workflow_dispatch: | ||
inputs: | ||
os: | ||
description: 'Operating System' | ||
description: "Operating System" | ||
required: true | ||
default: ubuntu-latest | ||
type: choice | ||
options: | ||
- ubuntu-latest | ||
- macos-latest | ||
- windows-latest | ||
- ubuntu-latest | ||
- macos-latest | ||
- windows-latest | ||
mod: | ||
description: 'Install Go/Node modules' | ||
description: "Install Go/Node modules" | ||
required: true | ||
default: true | ||
type: boolean | ||
|
@@ -61,15 +61,15 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ env.go_version }}-${{ env.json_cache-versions_go }}-${{ hashFiles('go/**/go.sum') }} | ||
key: ${{ runner.os }}-go-${{ env.go_version }}-${{ env.json_cache-versions_go }}-${{ hashFiles('go/**/go.sum') }} | ||
restore-keys: ${{ runner.os }}-go-${{ env.go_version }}-${{ env.json_cache-versions_go }}- | ||
|
||
- name: Cache node modules | ||
if: github.event.inputs.mod == 'true' && runner.os != 'Windows' | ||
uses: actions/[email protected] | ||
with: | ||
path: js/node_modules | ||
key: ${{ runner.OS }}-node-${{ env.node_version }}-${{ env.json_cache-versions_node }}-${{ hashFiles('js/yarn.lock') }} | ||
key: ${{ runner.OS }}-node-${{ env.node_version }}-${{ env.json_cache-versions_node }}-${{ hashFiles('js/yarn.lock') }} | ||
restore-keys: ${{ runner.OS }}-node-${{ env.node_version }}-${{ env.json_cache-versions_node }}- | ||
|
||
- name: Fetch go modules | ||
|
@@ -85,13 +85,22 @@ jobs: | |
- name: Install emacs | ||
shell: bash | ||
run: | | ||
if [ "$RUNNER_OS" == "Linux" ]; then | ||
sudo apt-get install -y emacs | ||
elif [ "$RUNNER_OS" == "Windows" ]; then | ||
choco install emacs | ||
else | ||
echo "Already installed!" | ||
fi | ||
if [ "$RUNNER_OS" == "Linux" ]; then | ||
sudo apt-get install -y emacs | ||
elif [ "$RUNNER_OS" == "Windows" ]; then | ||
choco install emacs | ||
else | ||
echo "Already installed!" | ||
fi | ||
- name: Install LazyVim | ||
shell: bash | ||
run: | | ||
if [ "$RUNNER_OS" == "Windows" ]; then | ||
git clone https://github.com/LazyVim/starter $env:LOCALAPPDATA\nvim | ||
else | ||
git clone https://github.com/LazyVim/starter ~/.config/nvim | ||
fi | ||
- name: Setup tmate session | ||
uses: mxschmitt/action-tmate@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.