Skip to content

Commit

Permalink
Add GH action for dependency submission and pkg.go.dev update
Browse files Browse the repository at this point in the history
  • Loading branch information
breml committed Sep 19, 2023
1 parent d966dc3 commit 8dcf91c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/deps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# https://github.com/actions/go-dependency-submission
name: dependency-submission
on:
push:
branches:
- master

permissions:
contents: write

jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.20"
- uses: actions/go-dependency-submission@v1
with:
go-mod-path: go.mod
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,11 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# https://github.com/marketplace/actions/go-proxy-warming
pkg-go-dev-warming:
name: Renew documentation
runs-on: ubuntu-latest
steps:
- name: Pull new module version
uses: andrewslotin/go-proxy-pull-action@master

0 comments on commit 8dcf91c

Please sign in to comment.