Create integration test

This commit is contained in:
Héctor Ramón Jiménez 2019-08-15 19:29:30 +02:00
parent 864b3ad9fd
commit 3d02911c12
3 changed files with 21 additions and 13 deletions

14
.github/workflows/integration.yml vendored Normal file
View File

@ -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

View File

@ -1,10 +1,10 @@
name: 'Node 12 Template Action'
description: 'Get started with Node actions'
author: 'GitHub'
name: 'Set up Rust'
description: 'Install a Rust toolchain and add it to the PATH'
author: 'Héctor Ramón'
inputs:
myInput:
description: 'Input to use'
default: 'world'
rust-version:
description: 'The toolchain name, such as stable, nighly, or 1.8.0'
default: 'stable'
runs:
using: 'node12'
main: 'lib/main.js'

6
package-lock.json generated
View File

@ -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",