summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/lint.yml
diff options
context:
space:
mode:
authorFrancis Lavoie <[email protected]>2024-02-09 17:31:26 -0500
committerGitHub <[email protected]>2024-02-09 15:31:26 -0700
commitc78ebb3d6ad796d8e2f67f46b9cda72b7472c2e4 (patch)
tree97ffac25ad34bf65f7fc5a8ceeabaee97fef4ace /.github/workflows/lint.yml
parenta6d9f9be5b26bf3c7e0947dbba062af0428cda03 (diff)
downloadcaddy-c78ebb3d6ad796d8e2f67f46b9cda72b7472c2e4.tar.gz
caddy-c78ebb3d6ad796d8e2f67f46b9cda72b7472c2e4.zip
chore: Rename CI jobs, run on M1 mac (#6089)
* Try macos-14 for fun * Decouple OS names and VM names * Shorten `cross-build-test` to `build`
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r--.github/workflows/lint.yml20
1 files changed, 16 insertions, 4 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index a3b3108b3..a538546cc 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -23,10 +23,22 @@ jobs:
strategy:
matrix:
os:
- - ubuntu-latest
- - macos-latest
- - windows-latest
- runs-on: ${{ matrix.os }}
+ - linux
+ - mac
+ - windows
+
+ include:
+ - os: linux
+ OS_LABEL: ubuntu-latest
+
+ - os: mac
+ OS_LABEL: macos-14
+
+ - os: windows
+ OS_LABEL: windows-latest
+
+ runs-on: ${{ matrix.OS_LABEL }}
+
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5