-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 1.16 KB
/
ci.yaml
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
name: "ci"
on: pull_request
jobs:
check-linting-and-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jetify-com/[email protected]
- run: devbox run lint
hotel-install-script:
strategy:
matrix:
# See: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
# for the mapping of architecture to the runner type.
runs-on: [macos-13, macos-latest, ubuntu-latest]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- name: run install script
shell: bash
run: |
./scripts/install_hotel.sh "${{ secrets.HOTEL_ACCESS_TOKEN }}"
- name: verify hotel executable is available and working
shell: bash
run: hotel --version
ensure-combined-cert-up-to-date:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- run: |
nix run .#generate-netskope-combined-cert
git diff --exit-code ./certs/