-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (46 loc) · 1.33 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
38
39
40
41
42
43
44
45
46
---
name: CI
on: [push]
jobs:
ci:
runs-on: ubuntu-latest
container:
image: ghcr.io/staex-io/cijail-ci:latest
credentials:
username: token
password: ${{ secrets.GHCR_TOKEN }}
options: --cap-add SYS_PTRACE --volume "/var/run/docker.sock:/var/run/docker.sock"
permissions:
packages: write
contents: write
env:
RUST_BACKTRACE: 1
RUST_TEST_THREADS: 1
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}
CIJAIL_ENDPOINTS: |
https://github.com/lyz-code/yamlfix/
https://pypi.org/simple/
https://files.pythonhosted.org/packages/
https://static.crates.io/crates/
https://index.crates.io/
https://github.com/rustsec/advisory-db
https://uploads.github.com/repos/staex-io/cijail/releases/
https://api.github.com/repos/staex-io/cijail/releases
steps:
- name: Checkout
uses: actions/[email protected]
- name: DNS
run: ./ci/dns.sh
- name: Lint
run: cijail ./ci/lint.sh
- name: Test
run: ./ci/test.sh
- name: Binaries
run: cijail ./ci/binaries.sh
- name: Packages
run: cijail ./ci/packages.sh
- name: Docker images
run: ./ci/containers.sh
- name: Release
run: cijail ./ci/release.sh