Update to go 1.22.3, caddy 2.8.1 and xcaddy 0.4.2 #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.22.3 | |
- name: Download xcaddy | |
run: curl -vLO https://github.com/caddyserver/xcaddy/releases/download/v0.4.2/xcaddy_0.4.2_linux_amd64.tar.gz | |
- name: Extract xcaddy | |
run: tar xfvz xcaddy_0.4.2_linux_amd64.tar.gz | |
- name: Build | |
run: ./xcaddy build --with github.com/kirsch33/realip --with github.com/caddyserver/jsonc-adapter --with github.com/git001/caddyv2-upload | |
- name: Show caddy modules | |
run: ./caddy list-modules | |
- name: Show caddy version | |
run: ./caddy version |