name: Gitbump CI on: push: branches: [ master ] workflow_dispatch: jobs: test: runs-on: [ubuntu-latest, amd64] steps: - uses: actions/checkout@v7 with: fetch-depth: 0 - name: Set up Go uses: actions/setup-go@v7 with: go-version: '1.27' - name: Install just run: | curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash - name: Test & Build run: | /root/bin/just vet test /root/bin/just build-linux-amd64 ./bin/gitbump_linux_amd64 --version - name: Lint uses: https://lab.zlymeda.dynu.net/actions/go-lint@master build: runs-on: [ubuntu-latest, amd64] needs: test if: github.ref == 'refs/heads/master' permissions: contents: write steps: - uses: actions/checkout@v7 with: fetch-depth: 0 persist-credentials: true - name: Set up Go uses: actions/setup-go@v7 with: go-version: '1.27' - name: Bump & Tag run: go run main.go notify: runs-on: [ubuntu-latest, amd64] needs: [test, build] if: always() steps: - name: Notify uses: https://lab.zlymeda.dynu.net/actions/ci-notify@master with: needs: ${{ toJSON(needs) }} ntfy_token: ${{ secrets.NTFY_TOKEN }}