Skip to content

Commit

Permalink
Merge pull request #24 from breml/dependency-submission
Browse files Browse the repository at this point in the history
Add GH action for dependency submission and pkg.go.dev update
  • Loading branch information
breml authored Sep 19, 2023
2 parents 4014131 + 8dcf91c commit 4c2970c
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 4c2970c

Please sign in to comment.