26 lines
613 B
YAML
26 lines
613 B
YAML
|
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
|