Merge pull request #165 from ProtonMail/fix-workflows-main
Change workflow settings to run on main branch
This commit is contained in:
commit
0ad4b054c7
4 changed files with 8 additions and 7 deletions
4
.github/workflows/android.yml
vendored
4
.github/workflows/android.yml
vendored
|
|
@ -2,9 +2,9 @@ name: Gomobile for Android
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
4
.github/workflows/go.yml
vendored
4
.github/workflows/go.yml
vendored
|
|
@ -2,9 +2,9 @@ name: Go test and lint
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
|
|
||||||
4
.github/workflows/ios.yml
vendored
4
.github/workflows/ios.yml
vendored
|
|
@ -2,9 +2,9 @@ name: Gomobile for iOS
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
|
|
@ -43,4 +43,5 @@ linters:
|
||||||
- wrapcheck # Force wrapping of external error TODO: when the bug is fixed update the linter
|
- wrapcheck # Force wrapping of external error TODO: when the bug is fixed update the linter
|
||||||
- gomoddirectives # Prohibits the use of replace statements
|
- gomoddirectives # Prohibits the use of replace statements
|
||||||
- varnamelen # Forbids short var names
|
- varnamelen # Forbids short var names
|
||||||
- ireturn # Prevents returning interfaces
|
- ireturn # Prevents returning interfaces
|
||||||
|
- forcetypeassert # Forces to assert types in tests
|
||||||
Loading…
Add table
Add a link
Reference in a new issue