From 729549bc9f0a8e0e3269c7b8a2bcae3206da0139 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Mon, 29 Jun 2020 10:08:58 -0700 Subject: [PATCH] Set up GitHub test workflow for Packer (#1306) Summary: Per title. Pull Request resolved: https://github.com/facebook/flipper/pull/1306 Test Plan: CI Reviewed By: mweststrate Differential Revision: D22285900 Pulled By: passy fbshipit-source-id: 094cab21cc0f646495e9166435fb6563d50ee2a8 --- .github/workflows/packer.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/packer.yml diff --git a/.github/workflows/packer.yml b/.github/workflows/packer.yml new file mode 100644 index 000000000..0370f5c54 --- /dev/null +++ b/.github/workflows/packer.yml @@ -0,0 +1,24 @@ +name: Packer + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Test + uses: icepuma/rust-action@1.44.0 + with: + args: cd packer && cargo test + - name: Format + uses: icepuma/rust-action@1.44.0 + continue-on-error: true + with: + args: cd packer && cargo fmt -- --check + - name: Lint + uses: icepuma/rust-action@1.44.0 + continue-on-error: true + with: + args: cd packer && cargo clippy -- -Dwarnings