From a20d4eb2489164a55e21b01e484b49853e05b24e Mon Sep 17 00:00:00 2001 From: Elisei Roca Date: Fri, 20 Dec 2024 23:43:40 +0100 Subject: [PATCH] Try openSUSE BCI Golang image --- .gitea/workflows/test.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 97984a8..6f56f79 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -2,10 +2,14 @@ on: [push] jobs: test-on-protected-branch: - runs-on: ubuntu-latest + 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 go - uses: actions/checkout@v4 with: token: ${{ secrets.ACTION_TOKEN }} @@ -16,6 +20,7 @@ jobs: 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 commit_message: "[skip actions] Gitea Actions run" commit_options: '--no-edit'