Use cargo deny with native certs. (#35) #193
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |