-
Notifications
You must be signed in to change notification settings - Fork 12
37 lines (36 loc) · 1.1 KB
/
ci.yml
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
name: GitHub Actions CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test1:
name: compute, satellite-proxy, canary, runner
runs-on: ubuntu-latest
env:
EARTHLY_TOKEN: "${{ secrets.EARTHLY_TOKEN }}"
EARTHLY_ORG: "earthly-technologies"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: test
run: |-
which git && \
git status && \
git rev-parse --show-toplevel && \
git config --get remote.origin.url && \
git rev-parse HEAD && \
git rev-parse --short=8 HEAD && \
git rev-parse --abbrev-ref HEAD && \
echo "--format=%at" && \
git log -1 --format=%at && \
echo "--format=%ct" && \
git log -1 --format=%ct && \
echo "--format=%ae" && \
git log -1 --format=%ae && \
echo "--format=%b" && \
git log -1 --format=%b && \
git for-each-ref --contains HEAD --format '%(refname:lstrip=-1)'