Merge pull request #165 from ProtonMail/fix-workflows-main

Change workflow settings to run on main branch
This commit is contained in:
wussler 2022-02-15 11:28:27 +01:00 committed by GitHub
commit 0ad4b054c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 7 deletions

View file

@ -2,9 +2,9 @@ name: Gomobile for Android
on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
jobs:
build:

View file

@ -2,9 +2,9 @@ name: Go test and lint
on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
jobs:

View file

@ -2,9 +2,9 @@ name: Gomobile for iOS
on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
jobs:
build:

View file

@ -43,4 +43,5 @@ linters:
- wrapcheck # Force wrapping of external error TODO: when the bug is fixed update the linter
- gomoddirectives # Prohibits the use of replace statements
- varnamelen # Forbids short var names
- ireturn # Prevents returning interfaces
- ireturn # Prevents returning interfaces
- forcetypeassert # Forces to assert types in tests