diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 27135cf..619e691 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Release on: pull_request: types: [closed] - branches: [main, master, latest] + branches: [latest] permissions: contents: write diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d98b66d..29f9424 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ on: pull_request: types: [opened, synchronize, reopened, ready_for_review] push: - branches: [main, master] + branches: [latest] jobs: test: @@ -20,6 +20,4 @@ jobs: run: go test -race -cover ./... - name: Run linter - uses: golangci/golangci-lint-action@v6 - with: - version: latest + uses: golangci/golangci-lint-action@v9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e4c35b3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,35 @@ +# Binaries +resetgen +*.exe +*.exe~ +*.dll +*.so +*.dylib + +# Test binary +*.test + +# Coverage +coverage.out +coverage.html + +# IDE +.idea/ +.vscode/ +*.swp +*.swo +*~ + +# OS +.DS_Store +Thumbs.db + +# Debug +__debug_bin* + +# Vendor (if not committed) +# vendor/ + +# Local env +.env +.env.local