19 Commits

Author SHA1 Message Date
s1d3sw1ped_bot 23287c7c6c ci: Bump tag-release golangci-lint to v8
CI / Build (push) Successful in 36s
CI / Lint (push) Successful in 49s
CI / Test (push) Successful in 1m10s
Release versioned tag / Lint (push) Successful in 35s
Release versioned tag / Test (push) Successful in 59s
Release versioned tag / Build versioned release (push) Successful in 1m52s
CI / Lint (pull_request) Successful in 42s
CI / Build (pull_request) Successful in 53s
CI / Test (pull_request) Successful in 1m3s
Align tag Lint with push-ci for Go 1.27; gate release on lint+test; gitea-release-action job token.
2026-09-01 21:32:30 -05:00
s1d3sw1ped_bot 5b2affec8d ci: Bump tag-release golangci-lint to v8
CI / Build (pull_request) Successful in 38s
CI / Lint (pull_request) Successful in 42s
CI / Test (pull_request) Successful in 59s
2026-09-02 02:23:24 +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
s1d3sw1ped 0650dabb15 Update .gitea/workflows/tag-release.yaml
CI / Lint (push) Successful in 2m34s
CI / Test (push) Successful in 2m48s
CI / Build (push) Successful in 3m29s
Release versioned tag / Lint (push) Successful in 2m9s
Release versioned tag / Test (push) Successful in 2m36s
Release versioned tag / Build versioned release (push) Successful in 3m35s
re-enable release binaries
2024-07-26 15:10:47 +00:00
s1d3sw1ped 42af2d6d25 remove toolcache env its hardcoded in the runners config now
CI / Test (push) Successful in 1m12s
CI / Lint (push) Successful in 1m17s
CI / Build (push) Successful in 1m17s
2024-07-17 23:27:22 -05:00
s1d3sw1ped 2dbc72bd39 minor cleanup of artifact names
CI / Test (push) Successful in 1m2s
CI / Build (push) Successful in 1m22s
CI / Lint (push) Successful in 51s
2024-07-17 22:37:21 -05:00
s1d3sw1ped d46a142312 test
CI / Lint (push) Successful in 38s
CI / Test (push) Successful in 1m13s
CI / Build (push) Successful in 1m37s
2024-07-17 22:23:27 -05:00
s1d3sw1ped caa699c651 fix ci
CI / Test (push) Failing after 13s
CI / Build (push) Failing after 12s
CI / Lint (push) Failing after 16s
2024-07-17 21:35:05 -05:00
s1d3sw1ped c5f77582c0 Merge pull request 'fix typo in tag-release' (#29) from develop into master
CI / Build (push) Failing after 23s
CI / Test (push) Has been cancelled
CI / Lint (push) Failing after 13s
Reviewed-on: #29
2024-05-20 09:50:42 +00:00
s1d3sw1ped 06503ce518 fix typo in tag-release
CI / Build (push) Successful in 1m38s
CI / Test (push) Successful in 2m4s
CI / Lint (push) Successful in 2m7s
CI / Lint (pull_request) Successful in 1m30s
CI / Test (pull_request) Successful in 1m56s
CI / Build (pull_request) Successful in 1m36s
2024-05-20 04:49:48 -05:00
s1d3sw1ped f1603dc6fa Merge pull request 'small temporary fix for release updating not working' (#28) from develop into master
CI / Test (push) Successful in 2m13s
CI / Lint (push) Successful in 2m16s
CI / Build (push) Successful in 2m51s
Reviewed-on: #28
2024-05-20 09:46:30 +00:00
s1d3sw1ped f8932166bb disable release update until fixed
CI / Test (push) Successful in 1m10s
CI / Lint (push) Successful in 2m14s
CI / Test (pull_request) Successful in 1m39s
CI / Lint (pull_request) Successful in 1m54s
CI / Build (push) Successful in 3m3s
CI / Build (pull_request) Successful in 2m16s
2024-05-20 04:31:27 -05:00
s1d3sw1ped ffd41348a0 small temporary fix for release updating not working
CI / Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / Lint (pull_request) Successful in 2m7s
CI / Test (pull_request) Successful in 1m56s
CI / Build (pull_request) Successful in 3m18s
2024-05-20 04:29:53 -05:00
s1d3sw1ped 12a9c101f2 Merge pull request 'Merge pull request 'update-develop' (#26) from update-develop into develop' (#27) from develop into master
CI / Test (push) Successful in 1m21s
CI / Lint (push) Successful in 1m55s
CI / Build (push) Successful in 2m33s
Release versioned tag / Test (push) Successful in 1m35s
Release versioned tag / Lint (push) Successful in 2m5s
Release versioned tag / Build versioned release (push) Failing after 2m11s
Reviewed-on: #27
2024-05-20 07:22:04 +00:00
s1d3sw1ped ff6381575e Merge pull request 'update-develop' (#26) from update-develop into develop
CI / Lint (push) Successful in 1m35s
CI / Test (push) Successful in 1m27s
CI / Lint (pull_request) Successful in 1m47s
CI / Test (pull_request) Successful in 1m23s
CI / Build (push) Successful in 2m43s
CI / Build (pull_request) Successful in 2m23s
Reviewed-on: #26
2024-05-20 07:21:42 +00:00
7 changed files with 123 additions and 32 deletions
+4 -10
View File
@@ -5,8 +5,6 @@ on:
jobs:
lint:
name: Lint
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -28,14 +26,12 @@ 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
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -66,8 +62,6 @@ jobs:
build:
name: Build
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -95,7 +89,7 @@ jobs:
- name: Build for linux
run: |
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}.${BUILD}-${GOOS}-${GOARCH}
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}-${BUILD}-${GOOS}-${GOARCH}
env:
VERSION: ${{github.ref_name}}
BUILD: ${{github.run_number}}
@@ -107,7 +101,7 @@ jobs:
- name: Build for windows
run: |
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}.${BUILD}-${GOOS}-${GOARCH}.exe
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}-${BUILD}-${GOOS}-${GOARCH}.exe
env:
VERSION: ${{github.ref_name}}
BUILD: ${{github.run_number}}
+7 -10
View File
@@ -6,13 +6,14 @@ on:
jobs:
lint:
name: Lint
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: test log
run: env | sort
- name: Setup go
uses: actions/setup-go@v5
with:
@@ -29,14 +30,12 @@ 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
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -67,8 +66,6 @@ jobs:
build:
name: Build
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -96,7 +93,7 @@ jobs:
- name: Build for linux
run: |
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}.${BUILD}-${GOOS}-${GOARCH}
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}-${BUILD}-${GOOS}-${GOARCH}
ls bin
env:
VERSION: ${{github.ref_name}}
@@ -108,7 +105,7 @@ jobs:
- name: Build for windows
run: |
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}.${BUILD}-${GOOS}-${GOARCH}.exe
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}-${BUILD}-${GOOS}-${GOARCH}.exe
ls bin
env:
VERSION: ${{github.ref_name}}
+17 -10
View File
@@ -7,8 +7,6 @@ on:
jobs:
lint:
name: Lint
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -30,14 +28,13 @@ 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
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -68,7 +65,10 @@ jobs:
release:
name: Build versioned release
needs: [lint, test]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -92,7 +92,7 @@ jobs:
- name: Build for linux
run: |
fyne build --release --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION#v}.${BUILD}-${GOOS}-${GOARCH}
fyne build --release --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION#v}-${BUILD}-${GOOS}-${GOARCH}
env:
VERSION: ${{github.ref_name}}
BUILD: ${{github.run_number}}
@@ -104,7 +104,7 @@ jobs:
- name: Build for windows
run: |
fyne build --release --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION#v}.${BUILD}-${GOOS}-${GOARCH}.exe
fyne build --release --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION#v}-${BUILD}-${GOOS}-${GOARCH}.exe
env:
VERSION: ${{github.ref_name}}
BUILD: ${{github.run_number}}
@@ -114,9 +114,16 @@ jobs:
CGO_ENABLED: 1
CC: x86_64-w64-mingw32-gcc
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: swiped-mod-switcher-${{github.ref_name}}-${{github.run_number}}
path: bin/
# Prefer built-in job token (Eva): gitea-release-action@v1 defaults to
# github.token / GITEA_TOKEN — no RELEASE_TOKEN / GIT_PACKAGES_TOKEN.
- name: Release binaries
uses: https://gitea.com/actions/release-action@main
uses: https://gitea.com/actions/gitea-release-action@v1
with:
files: |-
bin/**
api_key: '${{secrets.RELEASE_TOKEN}}'
+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