Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build-macos-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
STAGE: ${{ github.event.inputs.stage }}
DISK_SIZE: ${{ github.event.inputs.disk_size }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7

- name: Resolve macOS target (shortname + ghcr repo/tag + qcow2 name)
run: |
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:

- name: Log in to ghcr
if: ${{ github.event.inputs.stage != 'boot' }}
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -92,7 +92,7 @@ jobs:

- name: Upload artifacts (screenshots / logs)
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: macos-build-${{ github.event.inputs.macos }}-${{ github.event.inputs.stage }}
path: work/qemu-build/artifacts/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout cocoon-macos
uses: actions/checkout@v5
uses: actions/checkout@v7

- name: Set up Go
uses: actions/setup-go@v6
uses: actions/setup-go@v7
with:
go-version-file: 'go.mod'

Expand All @@ -31,7 +31,7 @@ jobs:
run: go build -o cocoon-macos .

- name: Upload binary
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: cocoon-macos-linux-amd64
path: cocoon-macos
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
fetch-depth: 0

- name: Extract VERSION
run: echo "VERSION=$(git describe --tags --always)" >> $GITHUB_ENV

- name: Set up Go
uses: actions/setup-go@v6
uses: actions/setup-go@v7
with:
go-version-file: 'go.mod'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout cocoon-macos
uses: actions/checkout@v5
uses: actions/checkout@v7

- name: Set up Go
uses: actions/setup-go@v6
uses: actions/setup-go@v7
with:
go-version-file: 'go.mod'

- name: golangci-lint
uses: golangci/golangci-lint-action@v8
uses: golangci/golangci-lint-action@v9
with:
version: v2.9.0

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout cocoon-macos
uses: actions/checkout@v5
uses: actions/checkout@v7

- name: Set up Go
uses: actions/setup-go@v6
uses: actions/setup-go@v7
with:
go-version-file: 'go.mod'

Expand All @@ -34,7 +34,7 @@ jobs:

- name: Upload coverage artifact
continue-on-error: true
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: coverage
path: coverage.out
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $(LOCALBIN):
mkdir -p $(LOCALBIN)

## Tool versions
GOLANGCILINT_VERSION ?= v2.9.0
GOLANGCILINT_VERSION ?= v2.12.2
GOLANGCILINT_ROOT := $(LOCALBIN)/golangci-lint-$(GOLANGCILINT_VERSION)
GOLANGCILINT := $(GOLANGCILINT_ROOT)/golangci-lint

Expand All @@ -29,7 +29,7 @@ GOIMPORTS := $(LOCALBIN)/goimports
.PHONY: golangci-lint
golangci-lint: $(GOLANGCILINT)
$(GOLANGCILINT):
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOLANGCILINT_ROOT) $(GOLANGCILINT_VERSION)
GOBIN=$(GOLANGCILINT_ROOT) go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@$(GOLANGCILINT_VERSION)

.PHONY: gofumpt
gofumpt: $(GOFMT)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/cocoonstack/cocoon-macos

go 1.26.4
go 1.26.5

require (
github.com/cocoonstack/cocoon v0.5.3
Expand Down