Skip to content

Commit

Permalink
use Go 1.21 for workflows and docker; name workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepeterson committed Oct 8, 2024
1 parent a826b0e commit 58f3885
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/on-push-pr.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: CI/CD
on:
push:
branches: [main]
Expand Down Expand Up @@ -75,7 +76,7 @@ jobs:

- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: '1.19.x'
go-version: '1.21.x'

- run: CGO_ENABLED=0 make release

Expand Down Expand Up @@ -108,7 +109,7 @@ jobs:

- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: '1.19.x'
go-version: '1.21.x'

- name: verify mysql
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: Release
on:
release:
types: [published]
Expand All @@ -13,7 +14,7 @@ jobs:

- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: '1.19.x'
go-version: '1.21.x'

- run: CGO_ENABLED=0 make release

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.buildx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.19 AS builder
FROM --platform=$BUILDPLATFORM golang:1.21 AS builder

WORKDIR /go/app

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NanoDEP

[![Go](https://github.com/micromdm/nanodep/workflows/Go/badge.svg)](https://github.com/micromdm/nanodep/actions) [![Go Reference](https://pkg.go.dev/badge/github.com/micromdm/nanodep.svg)](https://pkg.go.dev/github.com/micromdm/nanodep)
[![Go](https://github.com/micromdm/nanodep/workflows/CI%2FCD/badge.svg)](https://github.com/micromdm/nanodep/actions) [![Go Reference](https://pkg.go.dev/badge/github.com/micromdm/nanodep.svg)](https://pkg.go.dev/github.com/micromdm/nanodep)

NanoDEP is a set of tools and a Go library powering them for communicating with Apple's Device Enrollment Program (DEP) API servers.

Expand Down

0 comments on commit 58f3885

Please sign in to comment.