Skip to content

Commit 9be5af5

Browse files
committed
use Go 1.21 for workflows and docker; name workflows
1 parent fa57e70 commit 9be5af5

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.github/workflows/on-push-pr.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
name: CI/CD
12
on:
23
push:
34
branches: [main]
@@ -8,7 +9,7 @@ jobs:
89
format-build-test:
910
strategy:
1011
matrix:
11-
go-version: ['1.19.x', '1.21.x']
12+
go-version: ['1.21.x', '1.22.x']
1213
platform: [ubuntu-latest, macos-latest, windows-latest]
1314
runs-on: ${{ matrix.platform }}
1415
steps:
@@ -75,7 +76,7 @@ jobs:
7576

7677
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
7778
with:
78-
go-version: '1.19.x'
79+
go-version: '1.21.x'
7980

8081
- run: CGO_ENABLED=0 make release
8182

@@ -108,7 +109,7 @@ jobs:
108109

109110
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
110111
with:
111-
go-version: '1.19.x'
112+
go-version: '1.21.x'
112113

113114
- name: verify mysql
114115
run: |

.github/workflows/on-release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
name: Release
12
on:
23
release:
34
types: [published]
@@ -13,7 +14,7 @@ jobs:
1314

1415
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
1516
with:
16-
go-version: '1.19.x'
17+
go-version: '1.21.x'
1718

1819
- run: CGO_ENABLED=0 make release
1920

Dockerfile.buildx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.19 AS builder
1+
FROM --platform=$BUILDPLATFORM golang:1.21 AS builder
22

33
WORKDIR /go/app
44

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# NanoMDM
22

3-
[![Go](https://github.com/micromdm/nanomdm/workflows/Go/badge.svg)](https://github.com/micromdm/nanomdm/actions)
3+
[![CD/CD](https://github.com/micromdm/nanomdm/workflows/CI%2FCD/badge.svg)](https://github.com/micromdm/nanomdm/actions) [![Go Reference](https://pkg.go.dev/badge/github.com/micromdm/nanomdm.svg)](https://pkg.go.dev/github.com/micromdm/nanomdm)
44

5-
NanoMDM is a minimalist [Apple MDM server](https://developer.apple.com/documentation/devicemanagement) heavily inspired by [MicroMDM](https://github.com/micromdm/micromdm).
5+
NanoMDM is a minimalist [Apple MDM](https://developer.apple.com/documentation/devicemanagement) server and library heavily inspired by [MicroMDM](https://github.com/micromdm/micromdm).
66

77
## Getting started & Documentation
88

0 commit comments

Comments
 (0)