Filter branches

Use submodule force update
This commit is contained in:
danielsanchezq 2022-09-27 15:19:17 +02:00
parent 629114efff
commit 4027d1f5e1
1 changed files with 21 additions and 4 deletions

View File

@ -1,5 +1,10 @@
# copy of https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md
on: [push, pull_request]
on:
push:
branches: [master]
pull_request:
branches:
- "*"
name: CI
@ -13,7 +18,11 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
submodules: true
- name: Checkout submodules
uses: srt32/git-actions@v0.0.3
with:
args: git submodule update --init --recursive
- uses: actions-rs/toolchain@v1
with:
profile: minimal
@ -33,7 +42,11 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
submodules: true
- name: Checkout submodules
uses: srt32/git-actions@v0.0.3
with:
args: git submodule update --init --recursive
- uses: actions/setup-go@v3 # we need go to build go-waku
with:
go-version: '1.19'
@ -58,7 +71,11 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
submodules: true
- name: Checkout submodules
uses: srt32/git-actions@v0.0.3
with:
args: git submodule update --init --recursive
- uses: actions/setup-go@v3 # we need go to build go-waku
with:
go-version: '1.19'