We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab1631f commit bf6ff3dCopy full SHA for bf6ff3d
.github/workflows/test.yml
@@ -23,6 +23,22 @@ jobs:
23
check-latest: true
24
cache: true
25
26
+ - name: Install keyring dependencies
27
+ run: |
28
+ sudo apt-get update
29
+ sudo apt-get install -y gnome-keyring dbus-x11
30
+
31
+ - name: Start D-Bus and keyring
32
33
+ # Start D-Bus session
34
+ eval $(dbus-launch --sh-syntax)
35
+ echo "DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS" >> $GITHUB_ENV
36
37
+ # Initialize gnome-keyring with a test password
38
+ echo 'test' | gnome-keyring-daemon --unlock
39
+ eval $(echo 'test' | gnome-keyring-daemon --start --components=secrets)
40
+ echo "GNOME_KEYRING_CONTROL=$GNOME_KEYRING_CONTROL" >> $GITHUB_ENV
41
42
- name: Build
43
run: go build ./...
44
0 commit comments