Commit Graph

26 Commits

Author SHA1 Message Date
ᴍᴏᴏɴD4ʀᴋ 700b981e5d feat: Upgrade GitHub Actions to v4 for greater stability (#304)
* ci: Upgrade GitHub Actions to v4 for greater stability

- Close #303
- Upgrade GitHub Actions to v4 in all workflows
- Fix zipping and uploading of Linux arm64 assets in release workflow
- Simplify and remove unnecessary steps in build workflow
2024-01-27 23:15:05 +08:00
ᴍᴏᴏɴD4ʀᴋ eed1d12282 dev: refactor items and update repo deploy (#278)
* refactor: Refactor file paths and use map to store item names

- Refactored file paths for various browsing data types to use a consistent method of generating temporary file names
- Modified parsing functions in many browsing data types to use the new temporary file naming scheme
- Renamed `FileName` to `Filename` for consistency in the `item` package
- Removed unnecessary code and comments throughout various files
- Made minor improvements to some Item methods such as `TempFilename` and `FileName`

* ci: Optimize GitHub actions and update Go versions. (#274)

* ci: Optimize GitHub actions and update Go versions.

- Add GitHub actions for unit testing, linting, building, and releasing
- Use a matrix strategy to test on different versions and platforms
- Update setup-go and go-version options for compatibility
- Format code and build zip files for different operating systems
- Upload releases to GitHub with specific asset names and types

* fix: Refactor item file naming convention

- Update `filename()` function to return `UnsupportedItem` in specific cases
- Replace `UnknownItem` with `UnsupportedItem` in `Filename` method of `Item` struct
- Refactor code for clarity and consistency

* ci: Update GitHub workflow with latest setup-go version

- Update setup-go action to v3 in lint.yml GitHub workflow
- Omits some big changes in file diff summary
- Improve overall workflow reliability and efficiency

* ci: Improve GitHub actions across platforms

- Improve Windows compatibility in build workflow
- Optimize unit testing for pull requests
- Upgrade Coveralls GitHub action to v2 for improved coverage tracking

* build: Optimize build process for consistency and efficiency

- Ensure consistency of line endings by disabling Git's automatic conversion
- Add format check for Windows systems
- Update Go version in strategy matrix to `1.21.x`
- Remove unused dependencies from build process
- Include all packages in repository in build command

* ci: Refactor GitHub workflow configuration

- Remove unnecessary checks for `windows-latest` in github workflow
- Change `gofmt` check to `diff` for formatting
- Remove unneeded Git configuration for encoding of line endings
- Close #273

* ci: Update default branch references in GitHub Actions workflows (#277)

- Update Github Actions workflows to use `main` branch instead of `master`.
- Rename `master` branch to `main` in `lint.yml` and `build.yml` files.
- Change default branch to `main` in `contributors.yml` workflow file.
2024-01-13 15:58:53 +08:00
ᴍᴏᴏɴD4ʀᴋ f4b4ad1258 chore: remove auto released github actions 2024-01-09 20:57:42 +08:00
moonD4rk 83fc248195 chore: update Go version and dependencies for builds
- Update Go version from `1.20` to `1.21` in go.mod, .github/workflows/build.yml, and .github/workflows/lint.yml
2023-10-02 22:37:42 +08:00
ᴍᴏᴏɴD4ʀᴋ dae8edad60 chore: upgrade cross compile ghaction-xgo actions verison 2023-03-11 23:27:20 +08:00
moonD4rk 60772a47f4 chore: update actions go version to 1.20 2023-03-11 21:22:22 +08:00
ᴍᴏᴏɴD4ʀᴋ 77bdde8d0e chore: manually trigger release actions 2022-08-14 22:53:42 +08:00
ᴍᴏᴏɴD4ʀᴋ d78a68c957 chore: update release actions go version to 1.18 2022-04-17 16:41:18 +08:00
ᴍᴏᴏɴD4ʀᴋ 38a40cb29c deploy: update release action. 2021-12-13 22:03:24 +08:00
ᴍᴏᴏɴD4ʀᴋ 52fc05e7f8 deploy: new release with release-drafter action 2021-12-10 16:40:53 +08:00
ᴍᴏᴏɴD4ʀᴋ 4870b5214e chore: update release actions 2021-07-04 17:56:56 +08:00
ᴍᴏᴏɴD4ʀᴋ 5500de2aaa chore: update release actions Close #58 2021-07-04 17:24:08 +08:00
moond4rk 66eb7423e0 chore: remove set-env variable in github action Close #38 2020-11-08 02:13:51 +08:00
moond4rk fde8da74f9 chore: add upx to github action workflow 2020-11-08 01:34:41 +08:00
ᴍᴏᴏɴD4ʀᴋ 54cc5da8d7 fix: firefox history last_visit_time null Close #10 2020-09-03 17:44:03 +08:00
ᴍᴏᴏɴD4ʀᴋ 85af63bfcd chore: support golang 1.15 ci 2020-08-17 10:18:18 +08:00
ᴍᴏᴏɴD4ʀᴋ ce31d557e0 chore: remove windows 32 bit 2020-07-10 16:58:01 +08:00
ᴍᴏᴏɴD4ʀᴋ 0d6d779d40 feat: add linux release Closes #12 2020-07-10 16:52:16 +08:00
ᴍᴏᴏɴD4ʀᴋ 500ac34ab3 chore: support firefox for linux github action 2020-07-10 16:27:35 +08:00
ᴍᴏᴏɴD4ʀᴋ 0a4dfb2cbb style: fix typo and update readme 2020-07-10 11:29:03 +08:00
ᴍᴏᴏɴD4ʀᴋ e2b277f0ab chore: add windows 32bit action 2020-07-10 11:02:55 +08:00
ᴍᴏᴏɴD4ʀᴋ 3dc564680d chore: support go 1.11, 1.12 and windows 386 release 2020-07-10 10:53:49 +08:00
ᴍᴏᴏɴD4ʀᴋ a5ee0b722a fix: add bom for csv. Closes #7 2020-06-30 12:01:00 +08:00
ᴍᴏᴏɴD4ʀᴋ c6d76705c0 chore: update release github actions 2020-06-29 16:35:53 +08:00
ᴍᴏᴏɴD4ʀᴋ 9426ce6ef5 chroe: github action test 2020-06-29 16:07:19 +08:00
ᴍᴏᴏɴD4ʀᴋ 069f43b8f7 chore: add release github action 2020-06-29 15:44:41 +08:00