Carlo Teubner
49984bb606
.github: staticcheck-action → golangci-lint-action ( #2238 )
...
golangci-lint bundles many Go linters
(https://golangci-lint.run/docs/linters/ ). For now, we are going with its
default set of linters, which includes staticcheck, but with the
errcheck linter explicitly excluded because it generates a lot of lints;
I plan to address those and add errcheck in a subsequent contribution.
2025-10-29 11:23:52 +11:00
Joe Lim
f4ae38f575
Run cross build in parallel for CI ( #2171 )
...
* Run cross build in parallel for CI
* Intentional failure
* Revert "Intentional failure"
This reverts commit 27521305d7 .
* reorder
* Rename step
2025-09-20 00:31:04 +10:00
Joe Lim
edf72c6304
Use version in go.mod for CI build ( #2170 )
...
* Use version in `go.mod` for CI
* reorder
2025-09-19 23:08:47 +10:00
Joe Lim
38bcd0ba3d
Format yaml files ( #2169 )
2025-09-19 22:57:38 +10:00
Joe Lim
9e5f6af3b7
Bump go version to 1.24 ( #2164 )
2025-09-19 14:44:40 +10:00
dependabot[bot]
168a64a288
Bump actions/setup-go from 5 to 6 ( #2133 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 00:30:24 +10:00
dependabot[bot]
17b576ead5
Bump actions/checkout from 4 to 5 ( #2097 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-13 12:44:28 +10:00
dependabot[bot]
404050af30
Bump dominikh/staticcheck-action from 1.3.1 to 1.4.0 ( #2029 )
...
Bumps [dominikh/staticcheck-action](https://github.com/dominikh/staticcheck-action ) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/dominikh/staticcheck-action/releases )
- [Changelog](https://github.com/dominikh/staticcheck-action/blob/master/CHANGES.md )
- [Commits](https://github.com/dominikh/staticcheck-action/compare/v1.3.1...v1.4.0 )
---
updated-dependencies:
- dependency-name: dominikh/staticcheck-action
dependency-version: 1.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-04 13:24:15 +10:00
David Pedersen
b5b7b84568
Bump Go to 1.23 ( #1832 )
2024-11-04 18:01:08 +11:00
dependabot[bot]
c9d28f6e9d
Bump dominikh/staticcheck-action from 1.3.0 to 1.3.1 ( #1658 )
...
Bumps [dominikh/staticcheck-action](https://github.com/dominikh/staticcheck-action ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/dominikh/staticcheck-action/releases )
- [Changelog](https://github.com/dominikh/staticcheck-action/blob/master/CHANGES.md )
- [Commits](https://github.com/dominikh/staticcheck-action/compare/v1.3.0...v1.3.1 )
---
updated-dependencies:
- dependency-name: dominikh/staticcheck-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 15:22:44 +11:00
Joe Lim
c88b8eaa65
Update documentation contributing guidelines ( #1565 )
...
* Update documentation contributing guidelines
* intentional error
* Revert "intentional error"
This reverts commit f77d2466d6 .
2024-01-02 10:02:49 +11:00
Joe Lim
f13325f78d
Use string values for go-version ( #1534 )
2023-12-26 15:42:08 +01:00
dependabot[bot]
ff0ca39a4c
Bump actions/setup-go from 4 to 5 ( #1527 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 14:02:12 +11:00
dependabot[bot]
c56e319211
Bump actions/checkout from 3 to 4 ( #1413 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 13:19:00 +10:00
Ilya Grigoriev
c11931d3e6
Make CI cross-compile lf for every supported platform; support darwin-arm64 ( #1298 )
...
* Create CI job to run `gen/xbuild.sh`, adjust `xbuild.sh` to make it possible
This reworks the gen/xbuild.sh script to exit with a failure if any of the targets don't compile. It also adds a CI job to try cross-compiling for every platform on every pull request.
The new check is a little slow and compute-expensive, but I am hoping it's well within the quota.
See #1299 for a demo of how the CI would have failed after #1288 and before #1295 .
Screenshot: https://github.com/gokcehan/lf/assets/4123047/3d7a6b7c-8642-4d4c-a98a-c8b886c0b184
Thanks to @joelim-work for numerous improvements and an alternate
implementation I heavily borrowed from
(https://github.com/joelim-work/lf/blob/ci/gen/xbuild.sh )
* Refactor xbuild.sh some more to decrease repetition
I can remove this commit if people prefer.
* Generate darwin-arm64 binaries as we have users using it
Arm Macs are becoming popular. We have at least one
user: https://github.com/gokcehan/lf/issues/1294 . It
seems lf works fine there.
2023-07-03 13:08:12 +03:00
dependabot[bot]
25288fd90b
Bump actions/setup-go from 3 to 4 ( #1160 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 20:11:45 +03:00
Gokcehan
326930f46f
change go version from 1.17 to 1.18
2023-02-25 23:19:07 +03:00
dependabot[bot]
6c3366eec4
Bump actions/checkout from 2 to 3 ( #1129 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 23:12:56 +03:00
dependabot[bot]
28936c7506
Bump dominikh/staticcheck-action from 1.2.0 to 1.3.0 ( #1127 )
...
Bumps [dominikh/staticcheck-action](https://github.com/dominikh/staticcheck-action ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/dominikh/staticcheck-action/releases )
- [Changelog](https://github.com/dominikh/staticcheck-action/blob/master/CHANGES.md )
- [Commits](https://github.com/dominikh/staticcheck-action/compare/v1.2.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: dominikh/staticcheck-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 23:12:18 +03:00
dependabot[bot]
960f23c288
Bump actions/setup-go from 2 to 3 ( #1126 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 23:10:47 +03:00
Ilya Grigoriev
624992ad7b
Add staticcheck and go-generate Github check ( #968 )
...
* Fix Staticcheck errors & minor logic simplification
Simplify logic in ui.go. In that diff, `st` would already have the
Reversed flag set; there's no need to set it again.
Also, minor changes to remove all the statickcheck errors VS code's
Go extension complains about.
* Add staticcheck and Go 1.19 go-generate Github check
This adds a few Github action checks:
1. Check that `go fmt` and `go generate` were run on Go 1.19, following
up on https://github.com/gokcehan/lf/commit/654b8737b8a35729aa89aa93acf05ed5871b2616 .
On earlier Go versions, `go generate` results in whitespace changes.
2. Check that [Staticcheck](https://staticcheck.io/ ) passes.
2022-10-16 18:54:34 +03:00
Gokcehan
92e8a247b1
bump github actions go version to 1.17
2022-01-22 14:44:54 +03:00
Gokcehan
76338f1a4d
add windows to github actions
...
cc #729
2022-01-22 14:12:37 +03:00
gokcehan
1ff3910c70
Create go.yml
2021-06-20 01:12:57 +03:00