From c2e3613c2842da554ff12a60b05e87d5dce1a67e Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Tue, 15 Aug 2023 10:04:01 +0200 Subject: [PATCH 1/3] Remove `.idea/go-mail.iml`, update `.gitignore` Deleted the `.idea/go-mail.iml` file which was committed in error and should not be part of the source code repository. Updated the `.gitignore` file to ignore the whole `.idea` directory, since it contains configuration files that are specific to each developers environment and not required for the project build. The changes in the repository will now make it more clutter-free and prevent unintentional commits of unnecessary files in the future. --- .gitignore | 39 +-------------------------------------- .idea/go-mail.iml | 9 --------- 2 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 .idea/go-mail.iml diff --git a/.gitignore b/.gitignore index 7fa14d3..1026e97 100644 --- a/.gitignore +++ b/.gitignore @@ -27,40 +27,11 @@ examples/* # IDEA specific ignores # Source: https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore - -# User-specific stuff -.idea/**/workspace.xml -.idea/**/tasks.xml -.idea/**/usage.statistics.xml -.idea/**/dictionaries -.idea/**/shelf - -# AWS User-specific -.idea/**/aws.xml - -# Generated files -.idea/**/contentModel.xml - -# Sensitive or high-churn files -.idea/**/dataSources/ -.idea/**/dataSources.ids -.idea/**/dataSources.local.xml -.idea/**/sqlDataSources.xml -.idea/**/dynamic.xml -.idea/**/uiDesigner.xml -.idea/**/dbnavigator.xml -.idea/sonarlint.xml - -# Gradle -.idea/**/gradle.xml -.idea/**/libraries +.idea/ # CMake cmake-build-*/ -# Mongo Explorer plugin -.idea/**/mongoSettings.xml - # File-based project format *.iws @@ -84,11 +55,3 @@ com_crashlytics_export_strings.xml crashlytics.properties crashlytics-build.properties fabric.properties - -# Editor-based Rest Client -.idea/httpRequests - -# Android studio 3.1+ serialized cache file -.idea/caches/build_file_checksums.ser -/.idea/remote-targets.xml -/.idea/watcherTasks.xml diff --git a/.idea/go-mail.iml b/.idea/go-mail.iml deleted file mode 100644 index 338a266..0000000 --- a/.idea/go-mail.iml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file From 5948b38702d0f8db9ae8c1eebaafdce0aba46d77 Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Tue, 15 Aug 2023 10:08:47 +0200 Subject: [PATCH 2/3] Remove redundant vcs.xml file The .idea/vcs.xml file was deleted because it is not needed for the project. It was initially created by the IntelliJ IDEA but we're managing version control configurations through another way, making this file redundant. --- .idea/vcs.xml | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 .idea/vcs.xml diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index cf5b8e0..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - \ No newline at end of file From b2e54717b35899370fff42cdceb9e8b083be81a7 Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Tue, 15 Aug 2023 10:11:13 +0200 Subject: [PATCH 3/3] Update Go version to 1.21 in GitHub workflows This commit updates the Go version from 1.20 to 1.21 on three GitHub workflow files: golangci-lint.yml, codecov.yml, and sonarqube.yml. The change ensures we use the latest Go version which is more efficient and comes with additional features, leading to improved project performance. --- .github/workflows/codecov.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/sonarqube.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 39b0e0b..d4970cf 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -33,7 +33,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - go: [1.16, 1.17, 1.18, 1.19, '1.20'] + go: [1.17, 1.18, 1.19, '1.20', '1.21'] steps: - name: Checkout Code uses: actions/checkout@master diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 7183a6d..861637b 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -21,7 +21,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: '1.20' + go-version: '1.21' - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3 diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index 19fb69c..3b2c499 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v3 with: - go-version: '1.20.x' + go-version: '1.21.x' - name: Run unit Tests run: |