diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 7ee1cce..0000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @posquit0 @OJFord diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 759819d..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,6 +0,0 @@ -version: 2 -updates: -- package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" diff --git a/.github/labeler.yaml b/.github/labeler.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/.github/labels.yaml b/.github/labels.yaml deleted file mode 100644 index 9b7aae9..0000000 --- a/.github/labels.yaml +++ /dev/null @@ -1,40 +0,0 @@ -# Warning -- color: "ee0701" - description: "Categorize bug reports." - name: ":warning: bug" -- color: "ee0701" - description: "Categorize vulnerability reports." - name: ":warning: vulnerability" - -# Highlight -- color: "0e8a16" - description: "Good for newcomers." - name: ":fire: good first issue" -- color: "0e8a16" - description: "Extra attention is needed." - name: ":fire: help wanted" - -# Cancel -- color: "b60205" - description: "This issue or pull request already exists." - name: ":pray: duplicate" -- color: "b60205" - description: "This will not be worked on." - name: ":pray: wontfix" - -# Size -- color: "cfd3d7" - description: "Extra Small size issue or PR." - name: "size/XS" -- color: "cfd3d7" - description: "Small size issue or PR." - name: "size/S" -- color: "cfd3d7" - description: "Medium size issue or PR." - name: "size/M" -- color: "cfd3d7" - description: "Large size issue or PR." - name: "size/L" -- color: "cfd3d7" - description: "Extra Large size issue or PR." - name: "size/XL" diff --git a/.github/workflows/CompileCV.yml b/.github/workflows/CompileCV.yml deleted file mode 100644 index f63c563..0000000 --- a/.github/workflows/CompileCV.yml +++ /dev/null @@ -1,42 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: CI - -# Controls when the workflow will run -on: - # Triggers the workflow on push or pull request events but only for the "master" branch - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - - - name: LaTeX compilation - # You may pin to the exact commit or the version. - # uses: dante-ev/latex-action@49cf7cb5f79e7b2006dbdffea85e02bec0b6244b - uses: dante-ev/latex-action@2021-A - with: - # The root LaTeX file to be compiled - root_file: ./cv.tex - # The working directory for the latex compiler to be invoked - working_directory: # optional - # LaTeX engine to be used - compiler: lualatex - # Extra arguments to be passed to the latex compiler - args: # optional, default is -pdf -latexoption=-file-line-error -latexoption=-interaction=nonstopmode - # Install extra packages by apt-get - extra_system_packages: # optional diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml deleted file mode 100644 index 8857571..0000000 --- a/.github/workflows/integration.yaml +++ /dev/null @@ -1,57 +0,0 @@ -name: Integration - -on: - push: - branches: - - master - pull_request: {} - -concurrency: - group: integration-${{ github.ref }} - cancel-in-progress: true - -jobs: - changed: - runs-on: ubuntu-latest - - outputs: - yaml_changed: ${{ steps.filter-yaml.outputs.changed }} - yaml_files: ${{ steps.filter-yaml.outputs.files }} - - steps: - - name: Checkout - uses: actions/checkout@v6 - with: - fetch-depth: 0 - - - name: Get Changed Files - id: changed-files - uses: dorny/paths-filter@v3 - with: - list-files: json - filters: | - yaml: - - '**/*.yaml' - - '**/*.yml' - - - name: Filter changed YAML files to outputs - id: filter-yaml - run: | - echo ::set-output name=changed::${{ steps.changed-files.outputs.yaml }} - echo ::set-output name=files::${{ steps.changed-files.outputs.yaml_files }} - - - yaml: - needs: - - changed - if: ${{ needs.changed.outputs.yaml_changed != 'false' }} - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v6 - - - name: Lint YAML Files - id: yaml-lint - run: | - yamllint . diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 56108dc..f63c563 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,30 +1,42 @@ -name: Compile PDFs +# This is a basic workflow to help you get started with Actions +name: CI + +# Controls when the workflow will run on: - push: {} - pull_request: {} + # Triggers the workflow on push or pull request events but only for the "master" branch + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: + # This workflow contains a single job called "build" build: + # The type of runner that the job will run on runs-on: ubuntu-latest - container: texlive/texlive:latest + # Steps represent a sequence of tasks that will be executed as part of the job steps: - - name: Checkout repo - uses: actions/checkout@v6 + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v4 - - name: Install fonts - run: | - apt update - apt install --yes \ - fonts-roboto \ - fonts-adobe-sourcesans3 \ - ; - - - name: Compile - run: make - - - uses: actions/upload-artifact@v6 - with: - name: examples - path: examples/*.pdf + - name: LaTeX compilation + # You may pin to the exact commit or the version. + # uses: dante-ev/latex-action@49cf7cb5f79e7b2006dbdffea85e02bec0b6244b + uses: dante-ev/latex-action@2021-A + with: + # The root LaTeX file to be compiled + root_file: ./cv.tex + # The working directory for the latex compiler to be invoked + working_directory: # optional + # LaTeX engine to be used + compiler: lualatex + # Extra arguments to be passed to the latex compiler + args: # optional, default is -pdf -latexoption=-file-line-error -latexoption=-interaction=nonstopmode + # Install extra packages by apt-get + extra_system_packages: # optional diff --git a/.github/workflows/pull-request-labeler.yaml b/.github/workflows/pull-request-labeler.yaml deleted file mode 100644 index e618b74..0000000 --- a/.github/workflows/pull-request-labeler.yaml +++ /dev/null @@ -1,41 +0,0 @@ -name: Label Pull Requests - -on: -- pull_request_target - -jobs: - label-pr: - runs-on: ubuntu-latest - - steps: - - name: Add Labels for PR - uses: actions/labeler@v6 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" - configuration-path: .github/labeler.yaml - sync-labels: true - - - name: Add PR Size Labels for PR - uses: codelytv/pr-size-labeler@v1 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - xs_label: 'size/XS' - xs_max_size: '20' - s_label: 'size/S' - s_max_size: '100' - m_label: 'size/M' - m_max_size: '500' - l_label: 'size/L' - l_max_size: '1000' - xl_label: 'size/XL' - fail_if_xl: 'false' - message_if_xl: > - 'This PR has too many changes. - Please make sure you are NOT addressing multiple issues with one PR.' - files_to_ignore: | - "examples/*" - "*.otf" - "*.pdf" - "*.png" - "*.sty" - "*.ttf" diff --git a/.github/workflows/sync-labels.yaml b/.github/workflows/sync-labels.yaml deleted file mode 100644 index 6aa823c..0000000 --- a/.github/workflows/sync-labels.yaml +++ /dev/null @@ -1,25 +0,0 @@ -name: Sync labels - -on: - push: - branches: - - master - paths: - - .github/labels.yaml - -jobs: - sync-labels: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v6 - - - name: Sync labels - uses: crazy-max/ghaction-github-labeler@v5 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - yaml-file: .github/labels.yaml - skip-delete: false - dry-run: false - # exclude: | diff --git a/.github/workflows/welcome.yaml b/.github/workflows/welcome.yaml deleted file mode 100644 index 307d2c0..0000000 --- a/.github/workflows/welcome.yaml +++ /dev/null @@ -1,27 +0,0 @@ -name: Welcome for First Issue or Pull Request - -on: - pull_request_target: - types: - - opened - issues: - types: - - opened - -jobs: - welcome: - runs-on: ubuntu-latest - - steps: - - name: Welcome for First Issue or Pull Request - uses: actions/first-interaction@v1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-message: | - ### :wave: Welcome! Looks like this is your first issue. - - Hey, thanks for your contribution! Please give us a bit of time to review it. 😄 - pr-message: | - ### :wave: Welcome! Looks like this is your first pull request. - - Hey, thanks for your contribution! Please give us a bit of time to review it. 😄 diff --git a/MAKEFILE b/MAKEFILE new file mode 100644 index 0000000..a7f5960 --- /dev/null +++ b/MAKEFILE @@ -0,0 +1,13 @@ +.PHONY: cv + +CC = lualatex +CV_DIR = ./ +CV_SRCS = $(shell find $(CV_DIR) -name '*.tex') + +cv: $(foreach x, cv, $x.pdf) + +cv.pdf: ./cv.tex $(CV_SRCS) + $(CC) -output-directory=$(CV_DIR) $< + +clean: + rm -rf $(CV_DIR)/*.pdf \ No newline at end of file