Merge pull request #133 from Artturin/nixciupdate
workflows/test.yml use macos-latest again and use nix release with
This commit is contained in:
commit
d64e055310
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@ -52,7 +52,7 @@ jobs:
|
|||||||
- run: yarn build
|
- run: yarn build
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixos-20.03
|
nix_path: nixpkgs=channel:nixos-20.03
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
sandbox = relaxed
|
sandbox = relaxed
|
||||||
@ -88,7 +88,7 @@ jobs:
|
|||||||
- run: yarn build
|
- run: yarn build
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixos-21.05
|
nix_path: nixpkgs=channel:nixos-21.05
|
||||||
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
|
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
|
||||||
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
|
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
|
||||||
@ -97,7 +97,7 @@ jobs:
|
|||||||
oldest-supported-installer:
|
oldest-supported-installer:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-10.15]
|
os: [ubuntu-latest, macos-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -107,10 +107,10 @@ jobs:
|
|||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixos-21.05
|
nix_path: nixpkgs=channel:nixos-21.05
|
||||||
install_url: https://releases.nixos.org/nix/nix-2.3.5/install
|
install_url: https://releases.nixos.org/nix/nix-2.3.8/install
|
||||||
- run: nix-build test.nix
|
- run: nix-build test.nix
|
||||||
|
|
||||||
act-support:
|
act-support:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
@ -122,4 +122,4 @@ jobs:
|
|||||||
go-version: '^1.16'
|
go-version: '^1.16'
|
||||||
- run: go install github.com/nektos/act@latest
|
- run: go install github.com/nektos/act@latest
|
||||||
- run: docker pull ghcr.io/catthehacker/ubuntu:js-20.04
|
- run: docker pull ghcr.io/catthehacker/ubuntu:js-20.04
|
||||||
- run: ~/go/bin/act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:js-20.04 push -j simple-build
|
- run: ~/go/bin/act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:js-20.04 push -j simple-build
|
||||||
|
Loading…
Reference in New Issue
Block a user