Merge pull request #133 from Artturin/nixciupdate

workflows/test.yml use macos-latest again and use nix release with
This commit is contained in:
Domen Kožar 2022-04-07 10:42:42 +01:00 committed by GitHub
commit d64e055310
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ jobs:
- run: yarn build
- name: Install Nix
uses: ./
with:
with:
nix_path: nixpkgs=channel:nixos-20.03
extra_nix_config: |
sandbox = relaxed
@ -88,7 +88,7 @@ jobs:
- run: yarn build
- name: Install Nix
uses: ./
with:
with:
nix_path: nixpkgs=channel:nixos-21.05
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'
@ -97,7 +97,7 @@ jobs:
oldest-supported-installer:
strategy:
matrix:
os: [ubuntu-latest, macos-10.15]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
@ -107,10 +107,10 @@ jobs:
uses: ./
with:
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
act-support:
act-support:
strategy:
matrix:
os: [ubuntu-latest]
@ -122,4 +122,4 @@ jobs:
go-version: '^1.16'
- run: go install github.com/nektos/act@latest
- 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