From f56aeb9f77c20ad954a2913a61765adc5d83e28e Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Sun, 1 Oct 2023 08:28:35 -0600 Subject: [PATCH] new test action --- .gitea/workflows/test.yaml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..ebc9941 --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,37 @@ +name: Thing + +on: [push] + +env: + DEBIAN_FRONTEND: noninteractive + +jobs: + check-flake: + runs-on: ubuntu-latest + steps: + - run: node --version + - name: Install basic dependencies + run: apt-get update && apt-get install -y --no-install-recommends sudo curl ca-certificates xz-utils + + - name: Install Nix + uses: https://github.com/cachix/install-nix-action@v20 + with: + github_access_token: ${{ secrets.__GITHUB_TOKEN }} + + # - name: Install dependencies + # run: nix profile install nixpkgs#nodejs-18_x + + - name: Checkout the repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Get ENV var names + run: printenv | cut -d'=' -f1 + + - name: List files in the repository + run: | + ls ${{ gitea.workspace }} + + # - name: Check Flake + # run: nix flake check --show-trace \ No newline at end of file