Skip to content

fix(ci): bump and migrate actions (#52) #45

fix(ci): bump and migrate actions (#52)

fix(ci): bump and migrate actions (#52) #45

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
rust_version: [stable]
platform:
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest }
runs-on: ${{ matrix.platform.os }}
steps:
- uses: actions/checkout@v7
- name: install stable
uses: dtolnay/rust-toolchain@stable
with:
target: ${{ matrix.platform.target }}
- name: install gtk
if: matrix.platform.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libappindicator3-dev
- uses: Swatinem/rust-cache@v2
- name: cargo fmt
run: cargo fmt --all -- --check
- name: build webkit2gtk
run: cargo build --target ${{ matrix.platform.target }}
- name: build and run tests
run: cargo test --verbose --target ${{ matrix.platform.target }}