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 96cdd01 commit 6d27a63
Show file tree
Hide file tree
Showing 2 changed files with 30 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
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,12 @@ 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 6d27a63

Please sign in to comment.