Remove strategy #213
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow | |
name: Build | |
on: | |
push: | |
tags-ignore: [ 'v*.*.*', 'v*.*.*-*' ] | |
branches: ["main"] | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
packages: read | |
jobs: | |
build: | |
name: Build project | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
package_name: [ | |
"fediproto-sync", | |
] | |
env: | |
CARGO_TERM_COLOR: always | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install dev libraries | |
run: | | |
sudo apt-get install -y libpq-dev libpq5 libsqlite3-dev libsqlite3-0 | |
- name: Setup Rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: nightly | |
rustflags: "" | |
- name: Build project | |
run: cargo build --package ${{ matrix.package_name }} --verbose |