From 177b559038bc0ef72e3e02a1da5f3470355e7122 Mon Sep 17 00:00:00 2001 From: shimunn <41011289+shimunn@users.noreply.github.com> Date: Mon, 2 Oct 2023 11:38:45 +0200 Subject: [PATCH] Create locked.yml --- .github/workflows/locked.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/locked.yml diff --git a/.github/workflows/locked.yml b/.github/workflows/locked.yml new file mode 100644 index 0000000..18529bf --- /dev/null +++ b/.github/workflows/locked.yml @@ -0,0 +1,33 @@ +# This is a basic workflow to help you get started with Actions + +name: Locked + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "master" branch + push: + branches: '*' + pull_request: + branches: '*' + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v4 + - name: Setup Attic cache + uses: ryanccn/attic-action@v0 + with: + endpoint: ${{ secrets.ATTIC_ENDPOINT }} + cache: ${{ secrets.ATTIC_CACHE }} + token: ${{ secrets.ATTIC_TOKEN }} + - name: Build Nix Package + run: nix build --show-trace