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 fa57e70 commit 9be5af5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
7 changes: 4 additions & 3 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 All @@ -8,7 +9,7 @@ jobs:
format-build-test:
strategy:
matrix:
go-version: ['1.19.x', '1.21.x']
go-version: ['1.21.x', '1.22.x']
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# NanoMDM

[![Go](https://github.com/micromdm/nanomdm/workflows/Go/badge.svg)](https://github.com/micromdm/nanomdm/actions)
[![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)

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

## Getting started & Documentation

Expand Down

0 comments on commit 9be5af5

Please sign in to comment.