This action will check if the hashes of the files are correct
This commit is contained in:
parent
02a1f4e7eb
commit
3b314db5ee
2 changed files with 28 additions and 0 deletions
25
.forgejo/workflows/main.yml
Normal file
25
.forgejo/workflows/main.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- "dev"
|
||||
- "feature/*"
|
||||
|
||||
jobs:
|
||||
check-hashes:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- uses: https://code.forgejo.org/actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.21
|
||||
check-latest: true
|
||||
- name: Setup Packwiz
|
||||
if: success()
|
||||
run: go install github.com/packwiz/packwiz@latest
|
||||
- name: Refresh packwiz index file
|
||||
if: success()
|
||||
run: packwiz refresh
|
||||
- name: Check for potential differences
|
||||
if: success()
|
||||
run: git diff --exit-code pack.toml index.toml
|
|
@ -2,3 +2,6 @@
|
|||
|
||||
# Exclude developer settings
|
||||
/.vscode
|
||||
|
||||
# Exclude forgejo
|
||||
/.forgejo
|
||||
|
|
Loading…
Reference in a new issue