Skip to content

Commit

Permalink
Merge pull request #1167 from rohaquinlop/issue-979-git-config
Browse files Browse the repository at this point in the history
feat(build): #979 upgrade formatpython prod
  • Loading branch information
dsalaza4 authored Sep 26, 2023
2 parents af17e88 + 2ca71f3 commit d82de92
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 10 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,26 @@ jobs:
- name: /dev/example
run: nix-env -if . && m . /dev/example

linux_dev_makes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f095bcc56b7c2baf48f3ac70d6d6782f4f553222
- uses: docker://docker.io/nixos/nix@sha256:c3db4c484f6b1ee6c9bb8ca90307cfbeca8ef88156840911356a677eeaff4845
name: /dev/makes
with:
args: sh -c "chown -R root:root /github/workspace && nix-env -if . && m . /dev/makes"
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
macos_dev_makes:
runs-on: macos-latest
steps:
- uses: actions/checkout@f095bcc56b7c2baf48f3ac70d6d6782f4f553222
- uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac
- name: /dev/makes
run: nix-env -if . && m . /dev/makes
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}

linux_envVars_example:
runs-on: ubuntu-latest
steps:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,23 +149,23 @@ jobs:
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}

linux_dev_cliMain:
linux_dev_makes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f095bcc56b7c2baf48f3ac70d6d6782f4f553222
- uses: docker://docker.io/nixos/nix@sha256:c3db4c484f6b1ee6c9bb8ca90307cfbeca8ef88156840911356a677eeaff4845
name: /dev/cliMain
name: /dev/makes
with:
args: sh -c "chown -R root:root /github/workspace && nix-env -if . && m . /dev/cliMain"
args: sh -c "chown -R root:root /github/workspace && nix-env -if . && m . /dev/makes"
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
macos_dev_cliMain:
macos_dev_makes:
runs-on: macos-latest
steps:
- uses: actions/checkout@f095bcc56b7c2baf48f3ac70d6d6782f4f553222
- uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac
- name: /dev/cliMain
run: nix-env -if . && m . /dev/cliMain
- name: /dev/makes
run: nix-env -if . && m . /dev/makes
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}

Expand Down Expand Up @@ -265,18 +265,18 @@ jobs:
steps:
- uses: actions/checkout@f095bcc56b7c2baf48f3ac70d6d6782f4f553222
- uses: docker://docker.io/nixos/nix@sha256:c3db4c484f6b1ee6c9bb8ca90307cfbeca8ef88156840911356a677eeaff4845
name: /formatPython
name: /formatPython/default
with:
args: sh -c "chown -R root:root /github/workspace && nix-env -if . && m . /formatPython"
args: sh -c "chown -R root:root /github/workspace && nix-env -if . && m . /formatPython/default"
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
macos_formatPython:
runs-on: macos-latest
steps:
- uses: actions/checkout@f095bcc56b7c2baf48f3ac70d6d6782f4f553222
- uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac
- name: /formatPython
run: nix-env -if . && m . /formatPython
- name: /formatPython/default
run: nix-env -if . && m . /formatPython/default
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}

Expand Down

0 comments on commit d82de92

Please sign in to comment.