test docker #233
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: "test docker" | |
on: | |
pull_request: | |
push: | |
schedule: | |
- cron: '15 5 * * *' | |
jobs: | |
eval_cache: | |
runs-on: ubuntu-latest | |
concurrency: ${{ github.ref}} | |
container: | |
image: tomberek/nix-runner:pure-nix | |
env: | |
NIX_CONFIG: | | |
experimental-features = nix-command flakes | |
access-tokens = ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: something | |
run: | | |
git clone https://${{secrets.GITHUB_TOKEN}}@github.com/$GITHUB_REPOSITORY repo && cd repo | |
nix --version | |
test_build: | |
runs-on: ubuntu-latest | |
container: | |
image: docker.io/tomberek/nix-runner:pure-nix | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
path: testing | |
- name: hello | |
run: | | |
nix run nixpkgs#hello |