Skip to content

Update actions/checkout action to v4.2.2 #203

Update actions/checkout action to v4.2.2

Update actions/checkout action to v4.2.2 #203

name: Acceptance Tests
on: [push]
jobs:
acceptance-tests:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Check out oats
uses: actions/checkout@v4
with:
repository: grafana/oats
ref: b4c9c7738576c10bdaf8541eede4a65ed0ee95af
path: oats
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
cache-dependency-path: oats/go.sum
- name: Build Image for integration tests
run: ./build-lgtm.sh
- name: Run acceptance tests
run: ./scripts/run-acceptance-tests.sh
- name: upload log file
uses: actions/upload-artifact@v4
if: failure()
with:
name: docker-compose.log
path: oats/yaml/build/**/output.log