This repository has been archived by the owner on Oct 22, 2023. It is now read-only.
Update actions/checkout action to v4.1.1 #289
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pipeline | |
on: [push] | |
jobs: | |
build: | |
name: "Build and Test" | |
runs-on: ubuntu-latest | |
env: | |
TERM: xterm-256color | |
BATECT_CACHE_TYPE: directory | |
BATECT_ENABLE_TELEMETRY: true | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- name: Validate Batect wrapper scripts | |
uses: batect/batect-wrapper-validation-action@v0.4.0 | |
- name: Cache Batect | |
uses: actions/cache@v3.3.2 | |
with: | |
path: ~/.batect/cache | |
key: batect-${{ hashFiles('batect') }} | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: .batect/caches | |
key: batect-caches-${{ hashFiles('Gemfile.lock') }} | |
- name: Download dependencies | |
run: ./batect setup | |
- name: Lint | |
run: ./batect lint | |
- name: Run unit tests | |
run: ./batect unitTest | |
- name: Run integration tests | |
run: ./batect integrationTest | |
- name: Run journey tests | |
run: ./batect journeyTest |