Skip to content

Commit a2d30b7

Browse files
committed
temp: trying to fix linter and android build
1 parent 0c3ee4e commit a2d30b7

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: git checkout
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v3
3131

3232
- name: go cache
33-
uses: actions/cache@v1
33+
uses: actions/cache@v3
3434
with:
3535
path: /home/runner/work/go
3636
key: lnc-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
@@ -68,13 +68,12 @@ jobs:
6868
runs-on: ubuntu-latest
6969
steps:
7070
- name: git checkout
71-
uses: actions/checkout@v2
72-
73-
- name: Fetch all history for linter
74-
run: git fetch --prune --unshallow
71+
uses: actions/checkout@v3
72+
with:
73+
fetch-depth: 0
7574

7675
- name: go cache
77-
uses: actions/cache@v1
76+
uses: actions/cache@v3
7877
with:
7978
path: /home/runner/work/go
8079
key: lnc-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
@@ -107,10 +106,10 @@ jobs:
107106
- unit-race
108107
steps:
109108
- name: git checkout
110-
uses: actions/checkout@v2
109+
uses: actions/checkout@v3
111110

112111
- name: go cache
113-
uses: actions/cache@v1
112+
uses: actions/cache@v3
114113
with:
115114
path: /home/runner/work/go
116115
key: lnc-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
@@ -136,10 +135,10 @@ jobs:
136135
runs-on: ubuntu-latest
137136
steps:
138137
- name: git checkout
139-
uses: actions/checkout@v2
138+
uses: actions/checkout@v3
140139

141140
- name: go cache
142-
uses: actions/cache@v1
141+
uses: actions/cache@v3
143142
with:
144143
path: /home/runner/work/go
145144
key: lnc-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,7 @@ linters:
4141

4242
# Gosec is outdated and reports false positives.
4343
- gosec
44+
45+
issues:
46+
# Only show newly introduced problems.
47+
new-from-rev: 4008b92d81d4d62e663025c5f79ebe44b53f283c

Dockerfile-wasm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#Get golang 1.19.2-buster as a base image
2-
FROM golang:1.19.2-buster as builder
1+
#Get golang 1.19 as a base image
2+
FROM golang:1.19 as builder
33

44
#Define the working directory in the container
55
WORKDIR /app

mailbox/create_conn.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ func NewClientWebsocketConn(mailboxServer, pairingPhrase string,
1818
func() (*grpc.ClientConn, error), error) {
1919

2020
words := strings.Split(pairingPhrase, " ")
21+
2122
var mnemonicWords [NumPassphraseWords]string
2223
copy(mnemonicWords[:], words)
2324
entropy := PassphraseMnemonicToEntropy(mnemonicWords)

0 commit comments

Comments
 (0)