6 Commits

Author SHA1 Message Date
s1d3sw1ped_bot 5e4a10c573 ci: Bump tag-release golangci-lint to v8
CI / Build (pull_request) Successful in 39s
CI / Lint (pull_request) Successful in 48s
CI / Test (pull_request) Successful in 1m7s
Align tag-release Lint with push-ci / PR CI:
- golangci/golangci-lint-action@v8
- version: v2.13.2
- args: --timeout=5m

Gate the Fyne release job with needs: [lint, test] so a broken
lint cannot publish (root cause of tag v1.0.2 overall failure).

Add optional .golangci.yml from steamcache2 v2 skeleton (misspell;
no steamcache-specific path excludes; no gosec until Rex wants it).

Keep Fyne + release-action path; no GoReleaser; no master→main rename.

Fixes #34
2026-09-02 02:22:16 +00:00
s1d3sw1ped_bot d252e8e8d9 docs: Add CONTRIBUTING.md
CI / Build (push) Successful in 42s
CI / Lint (push) Successful in 48s
CI / Test (push) Successful in 1m1s
Release versioned tag / Lint (push) Failing after 41s
Release versioned tag / Test (push) Successful in 1m11s
Release versioned tag / Build versioned release (push) Successful in 2m7s
Add short contribution guide on the default branch from develop tip content.
2026-09-01 14:09:30 -05:00
s1d3sw1ped_bot 9e493e68d8 docs: Add CONTRIBUTING.md
CI / Lint (pull_request) Successful in 34s
CI / Build (pull_request) Successful in 50s
CI / Test (pull_request) Successful in 1m2s
Copy the develop tip contribution guide onto the default branch
so defaults and develop share one short CONTRIBUTING.md.
2026-09-01 19:08:20 +00:00
s1d3sw1ped_bot b898338b2d Bump push-ci golangci-lint to v8 / v2.13.2 (#31)
CI / Lint (push) Successful in 33s
CI / Build (push) Successful in 38s
CI / Test (push) Successful in 58s
2026-08-31 22:14:59 -05:00
s1d3sw1ped_bot ba986af8a8 Bump Go to 1.27.0 (#30)
CI / Build (push) Successful in 50s
CI / Test (push) Successful in 1m1s
CI / Lint (push) Failing after 1m1s
2026-08-31 21:00:11 -05:00
s1d3sw1ped c1885f174a Update README.md
CI / Lint (push) Successful in 3m49s
CI / Test (push) Successful in 3m57s
CI / Build (push) Successful in 1m56s
2024-08-11 04:19:25 +00:00
7 changed files with 103 additions and 8 deletions
+2 -2
View File
@@ -26,9 +26,9 @@ jobs:
run: go mod tidy
- name: Lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v8
with:
version: latest
version: v2.13.2
test:
name: Test
+2 -2
View File
@@ -30,9 +30,9 @@ jobs:
run: go mod tidy
- name: Lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v8
with:
version: latest
version: v2.13.2
test:
name: Test
+4 -2
View File
@@ -28,9 +28,10 @@ jobs:
run: go mod tidy
- name: Lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v8
with:
version: latest
version: v2.13.2
args: --timeout=5m
test:
name: Test
@@ -64,6 +65,7 @@ jobs:
release:
name: Build versioned release
needs: [lint, test]
runs-on: ubuntu-latest
steps:
- name: Checkout
+49
View File
@@ -0,0 +1,49 @@
# .golangci.yml — SwipedModSwitcher (golangci-lint v2)
# Adapted from steamcache2 v2 skeleton; no project-specific path excludes yet.
# Run with: golangci-lint run ./...
version: "2"
run:
timeout: 5m
modules-download-mode: readonly
linters:
# Defaults (errcheck, govet, ineffassign, staticcheck, unused, …) plus:
enable:
- misspell
settings:
errcheck:
check-type-assertions: false
check-blank: false
staticcheck:
checks:
- all
- "-ST*"
- "-QF*"
govet:
enable-all: true
disable:
- fieldalignment
- shadow
exclusions:
generated: lax
paths:
- dist
- bin
rules:
- path: _test\.go
linters:
- errcheck
formatters:
enable:
- goimports
exclusions:
generated: lax
paths:
- dist
- bin
issues:
max-issues-per-linter: 0
max-same-issues: 0
+44
View File
@@ -0,0 +1,44 @@
# Contributing
## Propose changes
Open a pull request against `develop`. Keep the default branch for releases and
stable tips; land work on `develop` first.
Point at an existing issue when one fits. Prefer a short issue that states the
symptom or request before a large PR.
## Commits
Subject form:
```
area: Imperative summary
```
- **Area** is a real package, directory, or subsystem token (`ci:`, `docs:`,
Go package name). Not a lone filename.
- **Imperative** mood: Fix, Add, Remove — not "Fixed" or "This patch…".
- No trailing period. Aim ≤ ~7075 characters for the whole subject.
- Not conventional-commits (`feat:` / `fix:` / `chore:` as types).
Body explains **why**. Establish the problem, then say what you are doing.
One logical change per commit; split fix and cleanup.
## Pull requests
Title matches the primary commit subject.
- **What** changed
- **Why** (problem and impact)
- **Test** (concrete steps; "CI green" alone is weak)
## Issues and closing
Cite leftover issues by **full URL**. Gitea closes issues when `#N` appears in
merge text, so do not put `#N` in the merge message unless that issue is actually
done. Use `Fixes #N` / `Closes #N` only when the leftover work is finished.
## License
License TBD by owner.
+1 -1
View File
@@ -1,5 +1,5 @@
# Swiped Mod Switcher
A simple but effective mod switcher for simple game such as Sims and Cyberpunk 2077.
A simple but effective mod switcher for simple game such as Sims.
it works by switching out a games mod folder with one of the ones made by you and placed under the profiles directory.
+1 -1
View File
@@ -1,6 +1,6 @@
module s1d3sw1ped/swipedmodswitcher
go 1.22
go 1.27.0
require (
fyne.io/fyne/v2 v2.3.5