diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index bccd223..69cfc01 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -12,10 +12,10 @@ jobs: runs-on: macos-latest steps: - - name: Set up xcode 13.0 + - name: Set up xcode 12.2 uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: 13.0 + xcode-version: 12.2 id: xcode - name: Set up Go 1.x diff --git a/.golangci.yml b/.golangci.yml index 7395bb4..6f032cd 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -41,4 +41,6 @@ linters: - revive # Force CamelCase instead of all caps - nilerr # Force return err when not nil - wrapcheck # Force wrapping of external error TODO: when the bug is fixed update the linter - - gomoddirectives # Prohibits the use of replace statements \ No newline at end of file + - gomoddirectives # Prohibits the use of replace statements + - varnamelen # Forbids short var names + - ireturn # Prevents returning interfaces \ No newline at end of file diff --git a/crypto/message_test.go b/crypto/message_test.go index 392e2c0..f40f6c8 100644 --- a/crypto/message_test.go +++ b/crypto/message_test.go @@ -214,7 +214,6 @@ func TestIssue11(t *testing.T) { assert.Exactly(t, "message from sender", plainMessage.GetString()) } - func TestDummy(t *testing.T) { pgp.latestServerTime = 1636644417 defer func() { pgp.latestServerTime = testTime }()