-
Notifications
You must be signed in to change notification settings - Fork 33
59 lines (46 loc) · 1.52 KB
/
Copy pathci.yml
File metadata and controls
59 lines (46 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: CI
on:
# Enables running the workflow manually from the Actions tab
workflow_dispatch:
push:
branches:
- main
tags:
- v*
pull_request:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
with:
persist-credentials: false
- name: Setup Deno
uses: denoland/setup-deno@e95548e56dfa95d4e1a28d6f422fafe75c4c26fb # v2.0.3
with:
deno-version: v2.x
- name: Check Formatting
run: deno task fmt
- name: Check Linting
run: deno task lint
- name: Build
run: deno task build
- name: Install Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6
with:
go-version: 1.24.x
cache: false
- name: Install k6
run: go install go.k6.io/k6@latest
- name: Build the docker-compose stack
uses: hoverkraft-tech/compose-action@4894d2492015c1774ee5a13a95b1072093087ec3 # v2.5.0
with:
up-flags: '-d'
down-flags: '-v'
- name: Wait for the localstack scripts to have been applied
run: sleep 30
- name: Test
run: deno task test:ci