Commit Graph

31 Commits

Author SHA1 Message Date
dependabot[bot]
0453679e7b
chore(deps): bump actions/checkout from 5 to 6 (#11076)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [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/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-11-25 07:29:20 -08:00
Marcin Rataj
9faefe316f
refactor(ci): optimize build workflows (#10973)
Some checks are pending
CodeQL / codeql (push) Waiting to run
Docker Check / lint (push) Waiting to run
Docker Check / build (push) Waiting to run
Gateway Conformance / gateway-conformance (push) Waiting to run
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Waiting to run
Go Build / go-build (push) Waiting to run
Go Check / go-check (push) Waiting to run
Go Lint / go-lint (push) Waiting to run
Go Test / go-test (push) Waiting to run
Interop / interop-prep (push) Waiting to run
Interop / helia-interop (push) Blocked by required conditions
Interop / ipfs-webui (push) Blocked by required conditions
Sharness / sharness-test (push) Waiting to run
Spell Check / spellcheck (push) Waiting to run
* ci: optimize build workflows

- use go version from go.mod instead of hardcoding
- group platforms by OS for parallel builds
- remove legacy try-build targets

* fix: checkout before setup-go in all workflows

setup-go needs go.mod to be present, so checkout must happen first

* chore: remove deprecated // +build syntax

go 1.17+ uses //go:build, the old syntax is no longer needed

* simplify: remove nofuse tag from CI workflows

- workflows now rely on platform build constraints
- keep make nofuse target for manual builds
- remove unused appveyor.yml

* ci: remove legacy travis variable and fix gateway-conformance

- remove TRAVIS env variable from 4 workflows
- fix gateway-conformance checkout path to match working-directory
- replace deprecated cache-go-action with built-in setup-go caching
2025-09-19 14:44:38 +02:00
dependabot[bot]
ff581aa86d
chore(deps): bump actions/setup-go from 5 to 6 (#10961)
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-19 05:09:48 +02:00
dependabot[bot]
5cb0943936
chore(deps): bump actions/checkout from 4 to 5 (#10907)
Dependabot couldn't find the original pull request head commit, 0292612bd5e16ed34f2974225fe170b15d4eb821.

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-15 00:32:05 +02:00
Andrew Gillis
501b1f8bc3
feat: require go1.25 for building kubo (#10913)
Some checks are pending
CodeQL / codeql (push) Waiting to run
Docker Build / docker-build (push) Waiting to run
Gateway Conformance / gateway-conformance (push) Waiting to run
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Waiting to run
Go Build / go-build (push) Waiting to run
Go Check / go-check (push) Waiting to run
Go Lint / go-lint (push) Waiting to run
Go Test / go-test (push) Waiting to run
Interop / interop-prep (push) Waiting to run
Interop / helia-interop (push) Blocked by required conditions
Interop / ipfs-webui (push) Blocked by required conditions
Sharness / sharness-test (push) Waiting to run
Spell Check / spellcheck (push) Waiting to run
* Require go1.25 for building kubo
* update Dockerfile to fix warnings
2025-08-13 18:01:50 -07:00
Andrew Gillis
8f07460ab3
Upgrade to go1.24 (#10726)
* Upgrade to go1.24
* fix test to look for new version info string
2025-02-24 14:46:20 -08:00
Marcin Rataj
091bc083c3
fix: go 1.23(.2) (#10540)
Some checks failed
CodeQL / codeql (push) Has been cancelled
Docker Build / docker-build (push) Has been cancelled
Gateway Conformance / gateway-conformance (push) Has been cancelled
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Has been cancelled
Go Build / go-build (push) Has been cancelled
Go Check / go-check (push) Has been cancelled
Go Lint / go-lint (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Interop / interop-prep (push) Has been cancelled
Sharness / sharness-test (push) Has been cancelled
Interop / helia-interop (push) Has been cancelled
Interop / ipfs-webui (push) Has been cancelled
go1.23.2 includes potential fix for issue described in
https://github.com/ipfs/kubo/issues/10501
2024-10-08 17:16:02 +02:00
Marcin Rataj
23ca1ddab1
fix: switch back to go 1.22 (#10502)
Switching back until https://github.com/ipfs/kubo/issues/10501 is resolved.
2024-09-02 23:39:16 +02:00
Marcin Rataj
2260e35df2
chore: upgrade to go 1.23 (#10486)
* chore: upgrade to go 1.23

https://tip.golang.org/doc/go1.23

* refactor: golangci-lint v1.60.2
2024-08-28 18:56:45 +02:00
Henrique Dias
d60b7cd1b1
ci: upgrade to go 1.22 (#10355) 2024-03-05 08:37:34 +01:00
dependabot[bot]
765147faf0 chore(deps): bump actions/setup-go from 4 to 5
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>
2024-01-16 08:03:32 +01:00
Adin Schmahmann
a9737e4d6a chore: update to build with Go 1.21 2023-09-18 17:05:32 +02:00
Piotr Galar
3e5e91dbbe
ci: remove obsolete protocol/cache-go-action (#10114) 2023-09-05 09:30:09 +02:00
dependabot[bot]
ac4d10faae
chore(deps): bump actions/setup-go from 2 to 4 (#9976)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...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>
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
2023-09-05 08:45:59 +02:00
dependabot[bot]
2690e083b4
chore(deps): bump actions/checkout from 3 to 4 (#10112)
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 08:33:32 +02:00
Henrique Dias
2aa721b121 chore: bump to go 1.20
- Bumps golangci-lint to work for the new Go version
- Removes rand.Seed, which has been deprecated. It is seeded by default
  with a random value since Go 1.20.
- Replaces deprecated Fuse errors with syscall.Errno
2023-08-22 15:43:01 +02:00
Jorropo
23f01232c9 ci: bump go version to 1.19.x across the whole board
We were quite inconsistent about this previously, some files used 1.19.1 some 1.19.x, this makes it more consistent.
2023-06-08 10:05:30 +02:00
Piotr Galar
a4f54574d0
ci: skip build on PRs modifying MDs only (#9879) 2023-05-15 15:39:00 +02:00
Piotr Galar
c9a8d9ff92
ci: simplify self-hosted runner selection (#9813)
* ci: simplify self-hosted runner selection

* ci: put interop jobs on self-hosted runners
2023-05-09 12:53:56 +02:00
Gus Eggert
1b3e4438fc
chore: upgrade OpenTelemetry dependencies (#9736) 2023-04-05 11:44:14 +00:00
Gus Eggert
ebdca5cf02
test: cancel workflows on same branch when new commit is added (#9771)
This is pretty common when working through PRs and ends up causing
tons of in-flight GitHub Actions workflows running because they aren't
currently canceled when a new commit is added. This will cancel
previous runs if a new commit is added on a branch (which is the
behavior we had on CircleCI).
2023-03-30 07:58:12 -04:00
galargh
fb80af5180 fix: ensure unique job names across all GHA workflows 2023-03-21 15:50:43 +01:00
galargh
64d3c153cb Revert "ci: rename gha workflow files to match workflow names"
This reverts commit d164129258f456fb70dc709b59d743a8aed57cc2.
2023-03-21 14:59:51 +01:00
galargh
a8f2c12f71 ci: rename gha workflow files to match workflow names 2023-03-21 14:59:32 +01:00
galargh
2d65120fd5 ci: standarise gha names 2023-03-21 14:57:36 +01:00
galargh
337ddb1227 ci: remove ci/gh prefix from GHA workflows 2023-03-21 14:57:14 +01:00
galargh
be3bde6df9 ci: remove experimental tags from GHA workflows 2023-03-21 14:57:14 +01:00
Piotr Galar
e1f38d7567
ci: set sensible timeouts on all gha jobs (#9683) 2023-03-02 10:51:57 +01:00
galargh
289b490b1b fix: source of the runner workflow 2023-01-14 11:41:20 +01:00
Marcin Rataj
cab044171d
chore: switch actions to master 2023-01-14 01:08:42 +01:00
Piotr Galar
d4cd414b5e
test: port CircleCI to GH Actions and improve sharness reporting (#9355)
Closes https://github.com/ipfs/kubo/issues/8991
Part of https://github.com/ipfs/kubo/issues/8804
2023-01-14 00:49:52 +01:00