diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index b9ef87f..0000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,74 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL" - -on: - push: - branches: [ main ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ main ] - schedule: - - cron: '33 16 * * 2' - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: [ 'go' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] - # Learn more about CodeQL language support at https://git.io/codeql-language-support - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - uses: actions/setup-go@v5 - with: - go-version: "stable" - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - # queries: ./path/to/local/query, your-org/your-repo/queries@main - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v3 - - # ℹī¸ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl - - # ✏ī¸ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language - - #- run: | - # make bootstrap - # make release - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index fec7c19..9ce2ca1 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -39,7 +39,7 @@ jobs: if [ $exit_status -eq 0 ]; then echo "nothing has changed" else - git add go.mod go.sum + git add go.mod go.sum internal/pb/rss.pb.go git commit -m "auto update from github actions" git push origin main fi diff --git a/go.mod b/go.mod index bc642e2..b0dd917 100644 --- a/go.mod +++ b/go.mod @@ -2,8 +2,6 @@ module github.com/FireFart/rss_fetcher go 1.23 -toolchain go1.23.1 - require ( github.com/mmcdole/gofeed v1.3.0 github.com/sirupsen/logrus v1.9.3 diff --git a/internal/pb/rss.pb.go b/internal/pb/rss.pb.go index bc731c0..8fc6ef9 100644 --- a/internal/pb/rss.pb.go +++ b/internal/pb/rss.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.1 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: rss.proto package pb @@ -104,7 +104,7 @@ func file_rss_proto_rawDescGZIP() []byte { } var file_rss_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_rss_proto_goTypes = []interface{}{ +var file_rss_proto_goTypes = []any{ (*Rss)(nil), // 0: rss.Rss nil, // 1: rss.Rss.FeedsEntry } @@ -123,7 +123,7 @@ func file_rss_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_rss_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_rss_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Rss); i { case 0: return &v.state