···1-# Github Actions
2-3-[](https://pkg.fluentci.io/rust_pipeline)
4-[](https://deno.land/x/rust_pipeline)
5-
6-[](https://codecov.io/gh/fluent-ci-templates/rust-pipeline)
7-8-The following command will generate a `.github/workflows/tests.yml` file in your project:
9-10-```bash
11-fluentci gh init -t rust_pipeline
12-```
13-14-Or, if you already have a `.fluentci` folder (generated from `fluentci init -t rust`) in your project:
15-16-```bash
17-fluentci gh init
18-```
19-20-Generated file:
21-22-```yaml
23-# Do not edit this file directly. It is generated by https://deno.land/x/fluent_github_actions
24-25-name: Test
26-on:
27- push:
28- branches:
29- - main
30-jobs:
31- test:
32- runs-on: ubuntu-latest
33- steps:
34- - uses: actions/checkout@v2
35- - uses: denoland/setup-deno@v1
36- with:
37- deno-version: v1.37
38- - name: Setup Fluent CI CLI
39- run: deno install -A -r https://cli.fluentci.io -n fluentci
40- - name: Setup Dagger
41- run: |
42- curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.1 sh
43- sudo mv bin/dagger /usr/local/bin
44- dagger version
45- - name: Run Tests and Build
46- run: fluentci run rust_pipeline test build
47-48-```
49-50-Feel free to edit the template generator at `.fluentci/src/github/config.ts` to your needs.