Chrome installation setup for Gitea actions
Some checks failed
CI / scan_ruby (push) Successful in 15s
CI / scan_js (push) Successful in 12s
CI / lint (push) Successful in 12s
CI / test (push) Has been cancelled

This commit is contained in:
sto 2025-03-23 08:57:19 +01:00
parent 2982f44acc
commit 5525cc814a
2 changed files with 11 additions and 1 deletions

View File

@ -56,8 +56,18 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install packages
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y build-essential git libyaml-dev pkg-config google-chrome-stable
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y build-essential git libyaml-dev pkg-config software-properties-common apt-transport-https ca-certificates
- name: Import Chrome GPG key
run: curl -fSsL https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor | sudo tee /usr/share/keyrings/google-chrome.gpg >> /dev/null
- name: Import Chrome APT repository
run: echo deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main | sudo tee /etc/apt/sources.list.d/google-chrome.list
- name: Install Chrome
run: sudo apt update && sudo apt install google-chrome-stable
- name: Checkout code
uses: actions/checkout@v4