Skip to content

Commit

Permalink
cachix/install-nix-actionをv22にアップデート
Browse files Browse the repository at this point in the history
macOSで失敗するバグが存在したため
cachix/install-nix-action#183
  • Loading branch information
momeemt committed Jul 14, 2023
1 parent 136e12d commit ab00830
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
- run: nix-env -f ./nix/pkgs.nix -iA shellcheck
- run: shellcheck -x -s bash ./src/main.sh
sync-dry-run:
Expand All @@ -19,7 +19,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
- run: |
nix-shell --command "bash ./src/main.sh $GITHUB_TOKEN dry-run"
env:
Expand All @@ -31,7 +31,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
- run: nix-env -f ./nix/pkgs.nix -iA nixpkgs-fmt
- run: |
find . -name '*.nix' ! -name 'github-label-sync.nix' ! -name 'node-env.nix' ! -name 'node-packages.nix' -print0 | while IFS= read -r -d '' file; do
Expand All @@ -44,7 +44,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
- run: nix-env -f ./nix/pkgs.nix -iA dhall
- run: |
find . -name '*.dhall' -print0 | while IFS= read -r -d '' file; do
Expand All @@ -57,7 +57,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
- run: nix-env -f ./nix/pkgs.nix -iA dhall
- run: |
find . -name '*.dhall' -print0 | while IFS= read -r -d '' file; do
Expand All @@ -70,6 +70,6 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
- run: nix-env -f ./nix/pkgs.nix -iA actionlint
- run: actionlint
2 changes: 1 addition & 1 deletion .github/workflows/demo.yml
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
- name: Apply
run: |
nix-shell --command "bash src/main.sh $GITHUB_TOKEN dev"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v22
- name: Apply
run: |
nix-shell --command "bash src/main.sh $GITHUB_TOKEN prod"
Expand Down

0 comments on commit ab00830

Please sign in to comment.