From ce34b0ea2b6643464032fc5b23b0c689268bd5f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20A=20Le=C3=B3n=20Baldelli?= Date: Sat, 23 Mar 2024 09:40:52 +0100 Subject: [PATCH] up CI game --- .github/workflows/learn-ci.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/learn-ci.yml b/.github/workflows/learn-ci.yml index b59a7a15..dbc690c4 100644 --- a/.github/workflows/learn-ci.yml +++ b/.github/workflows/learn-ci.yml @@ -1,13 +1,17 @@ name: learn-github-actions run-name: ${{ github.actor }} is learning GitHub Actions -on: [push] + +on: + push: + branches: + - '*' + jobs: - check-bats-version: + build-image-and-run-tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '14' - - run: npm install -g bats - - run: bats -v + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1