Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/ofborg
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d39605727d95
Choose a base ref
...
head repository: NixOS/ofborg
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6c13d402fb31
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 23, 2020

  1. ci: update install-nix-action to v12

    This fixes the `Unable to process command
    '::add-path::/nix/var/nix/profiles/per-user/runner/profile/bin'
    successfully.` errors (this was deprecated by GitHub).
    
    Also fix alignment, to ease copy-pasting.
    cole-h committed Nov 23, 2020
    Copy the full SHA
    6c13d40 View commit details
Showing with 13 additions and 7 deletions.
  1. +13 −7 .github/workflows/ci.yml
20 changes: 13 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -9,18 +9,22 @@ jobs:
pedantry:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v9
- name: Cargo Pedantry
run: nix-shell --run checkPhase -A mozilla-rust-overlay
- uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Cargo Pedantry
run: nix-shell --run checkPhase -A mozilla-rust-overlay

checkPhase:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v9
uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Set up git
run: |
git config --global user.email "ofborg@example.com"
@@ -33,6 +37,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v9
uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: nix-build
run: nix-build -A ofborg.rs -A ofborg.php