diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 1f4859a..33b2f13 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -2,9 +2,9 @@ name: Gomobile for Android on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: build: diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 810ae7f..02461b2 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,9 +2,9 @@ name: Go test and lint on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 1749514..5def9b3 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -2,9 +2,9 @@ name: Gomobile for iOS on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: build: diff --git a/.golangci.yml b/.golangci.yml index 6f032cd..1a14b3c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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 \ No newline at end of file + - ireturn # Prevents returning interfaces + - forcetypeassert # Forces to assert types in tests \ No newline at end of file