Skip to content

Fix references to self #79

Fix references to self

Fix references to self #79

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
RUSTFLAGS: -Dwarnings
jobs:
rust-test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run tests
run: cargo test --all
rust-clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run clippy
run: cargo clippy --all -- -D warnings
rust-fmt:
name: Fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run fmt
run: cargo fmt --all -- --check
terraform-fmt:
name: Terraform Fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Terraform
uses: hashicorp/setup-terraform@v1
- name: Run terraform fmt
run: terraform -chdir=infrastructure fmt -check