Updates Go dependencies via gobump #34
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: "Updates Go dependencies via gobump" | |
| on: # yamllint disable-line rule:truthy | |
| workflow_dispatch: | |
| schedule: | |
| # Every Sunday at 15:00 | |
| - cron: "0 15 * * 0" | |
| jobs: | |
| update-and-push: | |
| runs-on: ubuntu-latest | |
| container: registry.fedoraproject.org/fedora:42 | |
| steps: | |
| - name: Set up the environment | |
| run: "sudo dnf -y install git gh openssl gcc gpgme-devel btrfs-progs-devel krb5-devel" | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Run gobump-deps action | |
| uses: lzap/gobump@main | |
| with: | |
| # keep in sync with go.mod and prepare-source.sh | |
| go_version: "1.22.9" | |
| cgo_enabled: 1 | |
| token: ${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }} | |
| exec: "go build -buildvcs=false ./..." | |
| exec2: "go test -buildvcs=false ./..." | |
| labels: "gobump" | |
| tidy: false | |
| exec_pr: "./tools/prepare-source.sh" | |
| pr: true |