diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 309adfd..07966bc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,12 +6,12 @@ jobs: steps: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v22 - - uses: cachix/cachix-action@v12 + - uses: cachix/cachix-action@v14 with: name: devenv - uses: cachix/cachix-action@v12 with: - name: alejandr0angul0-dev + name: alejandr0angul0-resume authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - name: Run pre-commit hooks run: | @@ -21,14 +21,20 @@ jobs: build: needs: pre-commit-hooks - runs-on: ubuntu-latest + strategy: + matrix: + runner: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.runner }} steps: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v25 + - uses: cachix/cachix-action@v14 + with: + name: devenv - uses: cachix/cachix-action@v14 with: name: alejandr0angul0-resume authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - run: nix build - - run: nix flake check + - run: nix flake check --impure - run: nix run diff --git a/README.md b/README.md index fb16858..b2f4883 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +![Build workflow](https://github.com/alejandro-angulo/resume/actions/workflows/build.yml/badge.svg) + # Resume This repository generates a PDF of my resume using @@ -6,6 +8,16 @@ article](https://flyx.org/nix-flakes-latex/) to help me create a nix flake to build a resume generator command (I update my resume infrequently and it's always a hassle getting my environment set up). +## Why? + +This is nice for me to make sure I have the right environment to work on my +resume. It's not very practical, I admit, to have people run a `nix run` +command to generate the latest version of my resume (but it's kinda cool if +you're into reproducibility and stuff). At some point I should have the latest +version served somewhere on my site. + +tl;dr I just wanted an excuse to use nix. + ## Usage Use the flake! diff --git a/alejandro_resume.tex b/alejandro_resume.tex index d092fdd..6e9ab38 100644 --- a/alejandro_resume.tex +++ b/alejandro_resume.tex @@ -68,10 +68,10 @@ \subsection*{Sure --- \textit{Staff Software Engineer}} \subsubsection*{February 2020--Present} \begin{itemize} - \item Developing and maintaining a backend that supports managing an - insurance policy's lifecycle (quoting, binding, renewals, etc.) + \item Backend lead dev on the service (Django app) responsible for + managing an insurance policy's lifecycle (quoting, binding, etc.) \item Working on transitioning toward a more data-driven design - (drastically reducing the time to onboard new clients) + (drastically reducing the time/complexity to onboard new clients) \item Help unstick teammates with various types of problems (failing test cases, environment troubleshooting, suggestions on implementation, etc.) \item Investing in our developer experience (setting up tooling for @@ -84,8 +84,9 @@ \subsection*{Everbridge (formerly NC4) --- \textit{Software Engineer}} \subsubsection*{October 2018--February 2020} \begin{itemize} - \item Developed and maintained Python and PHP applications used to help notify - clients of potential issues (fires, police activity, etc) + \item Developed and maintained Python (Django app) and PHP applications + used to help notify clients of potential issues (fires, police + activity, etc) \item Migrated version control system from SVN to Git \item Re-architected Python application to improve modularity \item Introduced best practices (follow PEP8 for Python, begin linting code, etc.) @@ -137,7 +138,7 @@ \vspace{1em} \section*{Related links} \begin{itemize} - \item \href{https://github.com/alejandro-angulo/qmk_firmware/tree/master/keyboards/crkbd/keymaps/alejandro-angulo}{keyboard configuration} + \item \href{https://github.com/alejandro-angulo/zmk-config}{keyboard configuration} \item \href{https://github.com/alejandro-angulo/dotfiles/}{nix configuration} \end{itemize} \section*{Toolset} @@ -149,7 +150,7 @@ \item linux \item tmux \item python - \item vim + \item neovim \end{itemize} \section*{Education} \subsection*{UC Davis} diff --git a/build.sh b/build.sh index ac8adda..6c50bf4 100644 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ set -e # Following variables are set via sed in the buildPhase step PREFIX="" -# Intentionally overriding PATH so supressing shellcheck +# Intentionally overriding PATH so suppressing shellcheck # shellcheck disable=SC2123 PATH="" NERDFONTS="" diff --git a/flake.nix b/flake.nix index f6cc078..1eb19e3 100644 --- a/flake.nix +++ b/flake.nix @@ -42,12 +42,12 @@ pkgs.stdenvNoCC.mkDerivation rec { name = "alejandro-resume"; src = self; - propogatedBuildInputs = [pkgs.coreutils nerdfonts-hack tex]; + propagatedBuildInputs = [pkgs.coreutils nerdfonts-hack tex]; phases = ["unpackPhase" "buildPhase" "installPhase"]; buildPhase = '' cp build.sh alejandro-resume sed -i 's!PREFIX=""!PREFIX="${builtins.placeholder "out"}"!g' alejandro-resume - sed -i 's!PATH=""!PATH="${lib.makeBinPath propogatedBuildInputs}"!g' alejandro-resume + sed -i 's!PATH=""!PATH="${lib.makeBinPath propagatedBuildInputs}"!g' alejandro-resume sed -i 's!TEXVARS=""!TEXVARS="${texvars}"!g' alejandro-resume sed -i 's!NERDFONTS=""!NERDFONTS="${nerdfonts-hack}"!g' alejandro-resume ''; @@ -81,6 +81,10 @@ end-of-file-fixer.enable = true; shellcheck.enable = true; trim-trailing-whitespace.enable = true; + typos = { + enable = true; + always_run = true; + }; latexindent = { enable = true;