mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-13 00:20:08 +01:00
chore(ci): configure github-actions
This commit is contained in:
parent
9f466aea82
commit
9e774174d0
6 changed files with 224 additions and 1 deletions
31
.github/workflows/main.yaml
vendored
Normal file
31
.github/workflows/main.yaml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
name: main
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
- cron: '0 0 * * 0' # 00:00 Sunday
|
||||
|
||||
jobs:
|
||||
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
rust: [1.50.0, stable]
|
||||
steps:
|
||||
- name: Rust install
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
profile: minimal
|
||||
override: true
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
- name: Test
|
||||
run: ./ci/test_full.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue