-
-
Notifications
You must be signed in to change notification settings - Fork 164
35 lines (30 loc) · 915 Bytes
/
goproxy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Go Proxy
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Proxy
run: |
GOPROXY=${{ secrets.GOPROXY }} go mod download all
GOPROXY=${{ secrets.GOPROXY }} go mod tidy
- name: Actions Status Discord
uses: sarisia/actions-status-discord@v1.15.1
if: always()
with:
webhook: ${{ secrets.GOPROXY_DISCORD_WEBHOOK }}
status: ${{ job.status }}
content: "🥃 <@193791870285905920>"
title: "GOPROXY"
description: "`ipsw` GOPROXY Github Action"
url: "https://github.com/blacktop/ipsw/actions/workflows/goproxy.yml"
username: GitHub Actions
avatar_url: ${{ secrets.GOPROXY_AVATAR_URL }}