Skip to content

internal/ui: update to new Libadwaita widgets and fix a bug with Mullvad node sorting #234

internal/ui: update to new Libadwaita widgets and fix a bug with Mullvad node sorting

internal/ui: update to new Libadwaita widgets and fix a bug with Mullvad node sorting #234

Workflow file for this run

name: Lint and Test
env:
image: ubuntu:23.10
dependencies: libgtk-4-dev libadwaita-1-dev
go-version: 1.22.0
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
jobs:
go-vet:
name: go vet
runs-on: ubuntu-latest
container:
image: ${{ ubuntu }}

Check failure on line 20 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Lint and Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 20, Col: 14): Unrecognized named-value: 'ubuntu'. Located at position 1 within expression: ubuntu .github/workflows/test.yml (Line: 39, Col: 14): Unrecognized named-value: 'ubuntu'. Located at position 1 within expression: ubuntu
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
run: |
apt-get update
apt-get install -y ${{ env.dependencies }}
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.go-version }}
- name: go vet
run: go vet -v ./...
staticcheck:
name: staticcheck
runs-on: ubuntu-latest
container:
image: ${{ ubuntu }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
run: |
apt-get update
apt-get install -y ${{ env.dependencies }}
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.go-version }}
- name: Staticcheck
uses: dominikh/[email protected]
with:
install-go: false
go-test:
name: go test
runs-on: ubuntu-latest
container:
image: ${{ ubuntu }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
run: |
apt-get update
apt-get install -y ${{ env.dependencies }}
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.go-version }}
- name: go test
run: go test -v ./...