ci: setup just
Some checks failed
Gitbump CI / test (push) Successful in 9s
Gitbump CI / notify-failure (push) Has been skipped
Gitbump CI / build (push) Failing after 6s

This commit is contained in:
2026-02-12 13:01:16 +01:00
parent 4f46101d4c
commit d4a0203bd8

View File

@@ -17,15 +17,19 @@ jobs:
with:
go-version: '1.26'
- name: Install just
run: |
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash
- name: Test & Build
run: |
just vet test
just build-linux-amd64
/bin/gitbump_linux_amd64 --version
/root/bin/just vet test
/root/bin/just build-linux-amd64
./bin/gitbump_linux_amd64 --version
build:
runs-on: [ubuntu-latest, amd64]
needs: test-build
needs: test
if: github.ref == 'refs/heads/master'
permissions:
contents: write
@@ -44,17 +48,16 @@ jobs:
run: go run main.go
notify-failure:
runs-on: go-executor
runs-on: [ubuntu-latest, amd64]
needs: [test, build]
if: always() && contains(needs.*.result, 'failure')
if: always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped'))
steps:
- name: ntfy-failed-notifications
uses: niniyas/ntfy-action@master
with:
url: 'https://ntfy.zlymeda.dynu.net'
topic: ${{ secrets.NTFY_TOPIC || 'errors' }}
url: ${{ secrets.NTFY_URL }}
topic: ${{ secrets.NTFY_TOPIC }}
priority: 5
tags: flying_saucer,warning,🚨,🛠️,action,failed
details: Workflow has failed!
actions: 'default'