-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (40 loc) · 1.24 KB
/
check.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
36
37
38
39
40
41
42
43
name: aqua
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- ubuntu-24.04
- macos-14
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: "1.23.4" # renovate: depName=golang/go
- run: |
rustup set profile minimal
rustup install stable
- uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5
- name: cache ~/.aqua
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: |
~/.aqua/pkgs
~/.aqua/registries
key: ${{ runner.os }}-${{ hashFiles('dot_config/aqua/aqua.yaml') }}
- uses: aquaproj/aqua-installer@f13c5d2f0357708d85477aabe50fd3f725528745 # v3.1.0
with:
aqua_version: v2.39.0
- run: aqua -c dot_config/aqua/aqua.yaml i --test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AQUA_POLICY_CONFIG: "dot_config/aqua/aqua-policy.yaml"