Skip to content

✨️ gcc(C言語)・g++(C++) #147

✨️ gcc(C言語)・g++(C++)

✨️ gcc(C言語)・g++(C++) #147

name: nix-buildcheck
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
# github actionsのファイルサイズ制限に引っかかって落ちるので一時的に無効化
# - run: nix build ./exec-container/flake.nix
- run: nix flake check ./exec-container/flake.nix
- run: cd ./exec-container && nix fmt && git diff --exit-code || (echo "Please run 'nix fmt' and commit the changes" && exit 1)