From 9f2310ed32e30a99fd32086d1b9a8bda5ca4af22 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 15 Dec 2023 08:13:26 -0800 Subject: remove rust template, add GHA to go template --- templates/go/.github/workflows/ci.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 templates/go/.github/workflows/ci.yaml (limited to 'templates/go/.github/workflows/ci.yaml') diff --git a/templates/go/.github/workflows/ci.yaml b/templates/go/.github/workflows/ci.yaml new file mode 100644 index 0000000..72dbdc4 --- /dev/null +++ b/templates/go/.github/workflows/ci.yaml @@ -0,0 +1,30 @@ +name: "Build flake outputs" +on: + push: + branches: + - main + pull_request: + branches: + - main + types: + - opened + - synchronize +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + output: + - devShell.x86_64-linux + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Install Nix + uses: cachix/install-nix-action@v24 + with: + extra_nix_config: | + experimental-features = nix-command flakes + - run: nix flake check + - run: nix develop -c echo OK -- cgit v1.2.3