Skip to content

Commit

Permalink
GitHub Action: Trigger Go module indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
tangrufus committed Nov 15, 2024
1 parent 7857346 commit d359160
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/go-mod-index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Go Module Index

on:
push:

permissions: {}

jobs:
go-mod-index:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
cache: false
- run: go mod download -x github.com/${{ github.repository }}@${{ github.sha }}
- run: go mod download -x github.com/${{ github.repository }}@${{ github.ref_name }}

0 comments on commit d359160

Please sign in to comment.