Skip to content

Commit

Permalink
chore: github workflows & README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
l-hellmann committed Sep 9, 2024
1 parent 59ae4f8 commit aeeddcd
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#### What Type of Change is this?

- [ ] New Feature
- [ ] Minor Fix
- [ ] Major Improvement
- [ ] Fix
- [ ] Improvement
- [ ] Other

#### Description (required)
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,15 @@ jobs:
steps:

- name: Set up Go 1.x
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ~1.22
go-version-file: "go.mod"
id: go
env:
CGO_ENABLED: 0

- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Get dependencies
run: |
Expand Down
19 changes: 16 additions & 3 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@ jobs:
steps:

- name: Set up Go 1.x
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ~1.22
go-version-file: "go.mod"
id: go
env:
CGO_ENABLED: 0

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Get dependencies
run: |
Expand Down Expand Up @@ -101,6 +103,17 @@ jobs:
asset_name: ${{ matrix.file }}
asset_content_type: application/octet-stream

- name: Notify discord about new release
uses: sarisia/actions-status-discord@v1.15.0
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
title: "New version of `zcli` is ready!"
description: |
Version `${{ github.event.release.tag_name }}`
Changelog [here](${{ github.event.release.html_url }})
color: 0xff91a4
username: GitHub

publish-npm:
needs: build
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
### Optional requirements

- [Wireguard](https://www.wireguard.com/install/) - utilized by `zcli vpn` command.
- ping - utilized by `zcli vpn` command.


<br/>
Expand Down

0 comments on commit aeeddcd

Please sign in to comment.