Elisei Roca 01f7208744
Some checks failed
/ test-on-protected-branch (push) Failing after 27s
Try openSUSE BCI Golang image
2024-12-20 23:46:52 +01:00

28 lines
892 B
YAML

on: [push]
jobs:
test-on-protected-branch:
runs-on: opensuse_bci_golang
steps:
- name: Fix dns
run: echo 'nameserver 1.1.1.1' > /etc/resolv.conf
- name: Install packages
run: |
zypper ref
zypper in -y go
- uses: actions/checkout@v4
with:
token: ${{ secrets.ACTION_TOKEN }}
- name: Add a line to README.md
run: |
echo -e "$(date) - commited via Gitea Actions\n" >> README.md
- name: Commit changes back
uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
with:
commit_user_name: gitea-actions-bot
commit_user_email: bot+gitea@example.com
commit_author: Gitea Actions bot <bot+gitea@example.com>
commit_message: "[skip actions] Gitea Actions run"
commit_options: '--no-edit'
skip_fetch: true