From 3d02911c124fd249192b8a68745ac5b278d066f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Thu, 15 Aug 2019 19:29:30 +0200 Subject: [PATCH] Create integration test --- .github/workflows/integration.yml | 14 ++++++++++++++ action.yml | 14 +++++++------- package-lock.json | 6 ------ 3 files changed, 21 insertions(+), 13 deletions(-) create mode 100644 .github/workflows/integration.yml diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml new file mode 100644 index 0000000..69fb9f4 --- /dev/null +++ b/.github/workflows/integration.yml @@ -0,0 +1,14 @@ +name: Integration test +on: [push] + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macOS-latest] + + steps: + - uses: hecrj/setup-rust-action@master + - name: Check Cargo availability + run: cargo --version diff --git a/action.yml b/action.yml index 2b3b1b0..4f7cc69 100644 --- a/action.yml +++ b/action.yml @@ -1,10 +1,10 @@ -name: 'Node 12 Template Action' -description: 'Get started with Node actions' -author: 'GitHub' -inputs: - myInput: - description: 'Input to use' - default: 'world' +name: 'Set up Rust' +description: 'Install a Rust toolchain and add it to the PATH' +author: 'Héctor Ramón' +inputs: + rust-version: + description: 'The toolchain name, such as stable, nighly, or 1.8.0' + default: 'stable' runs: using: 'node12' main: 'lib/main.js' diff --git a/package-lock.json b/package-lock.json index 6e4d6b5..64e9faa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4227,12 +4227,6 @@ "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", "dev": true }, - "prettier": { - "version": "1.18.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.18.2.tgz", - "integrity": "sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==", - "dev": true - }, "pretty-format": { "version": "24.8.0", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-24.8.0.tgz",